mirror of
https://github.com/pbatard/rufus.git
synced 2025-05-27 13:14:26 -04:00
[ui] report timeout errors for logical drive access
* Also update ChangeLog
This commit is contained in:
parent
65523bbdf9
commit
70419d31e9
3 changed files with 20 additions and 6 deletions
|
@ -1954,7 +1954,8 @@ DWORD WINAPI FormatThread(void* param)
|
|||
Sleep(200);
|
||||
if (!WaitForLogical(DriveIndex, partition_offset[PI_MAIN])) {
|
||||
uprintf("Logical drive was not found - aborting");
|
||||
FormatStatus = ERROR_SEVERITY_ERROR | FAC(FACILITY_STORAGE) | ERROR_NO_VOLUME_ID;
|
||||
if (!IS_ERROR(FormatStatus))
|
||||
FormatStatus = ERROR_SEVERITY_ERROR | FAC(FACILITY_STORAGE) | ERROR_TIMEOUT;
|
||||
goto out;
|
||||
}
|
||||
CHECK_FOR_USER_CANCEL;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue