Index: /trunk/src/VBox/Runtime/r3/win/RTFileQuerySectorSize-win.cpp
===================================================================
--- /trunk/src/VBox/Runtime/r3/win/RTFileQuerySectorSize-win.cpp	(revision 85881)
+++ /trunk/src/VBox/Runtime/r3/win/RTFileQuerySectorSize-win.cpp	(revision 85882)
@@ -33,5 +33,5 @@
 
 #include <iprt/assert.h>
-#include <iprt/errcore.h>
+#include <iprt/err.h>
 #include <iprt/string.h>
 
@@ -56,5 +56,5 @@
     }
     int rc = RTErrConvertFromWin32(GetLastError());
-    AssertMsgFailed(("%d / %Rrc\n", GetLastError(), rc));
+    AssertMsg(rc == VERR_IO_NOT_READY, ("%d / %Rrc\n", GetLastError(), rc));
     return rc;
 }
