VirtualBox

Changeset 85882 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Aug 24, 2020 9:35:04 PM (4 years ago)
Author:
vboxsync
Message:

IPRT/RTFileQuerySectorSize/win: Ignore not-ready-drive errors. bugref:9224

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/r3/win/RTFileQuerySectorSize-win.cpp

    r85875 r85882  
    3333
    3434#include <iprt/assert.h>
    35 #include <iprt/errcore.h>
     35#include <iprt/err.h>
    3636#include <iprt/string.h>
    3737
     
    5656    }
    5757    int rc = RTErrConvertFromWin32(GetLastError());
    58     AssertMsgFailed(("%d / %Rrc\n", GetLastError(), rc));
     58    AssertMsg(rc == VERR_IO_NOT_READY, ("%d / %Rrc\n", GetLastError(), rc));
    5959    return rc;
    6060}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette