mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-17 08:34:27 -04:00
[core] display device paths in GetHandle()
* Also reorder bLockDrive and bWriteAccess parameters
This commit is contained in:
parent
eb57d116cc
commit
477ff95f93
5 changed files with 39 additions and 25 deletions
|
@ -137,7 +137,7 @@ BOOL InstallSyslinux(DWORD drive_index, char drive_letter, int fs_type)
|
|||
* weird reason.the Syslinux install process *MUST* have FILE_SHARE_WRITE
|
||||
* on the volume, or else creating 'ldlinux.sys' will fail...
|
||||
*/
|
||||
d_handle = GetLogicalHandle(drive_index, TRUE, FALSE, TRUE);
|
||||
d_handle = GetLogicalHandle(drive_index, FALSE, TRUE, TRUE);
|
||||
if ((d_handle == INVALID_HANDLE_VALUE) || (d_handle == NULL)) {
|
||||
uprintf("Could open volume for Syslinux installation");
|
||||
goto out;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue