- Translate STATUS_DEVICE_NOT_CONNECTED to the correct error.
Modified: trunk/reactos/lib/rtl/error.c
_____
Modified: trunk/reactos/lib/rtl/error.c
--- trunk/reactos/lib/rtl/error.c 2005-10-24 17:25:23 UTC (rev
18745)
+++ trunk/reactos/lib/rtl/error.c 2005-10-24 17:27:41 UTC (rev
18746)
@@ -300,7 +300,7 @@
ERROR_NO_SYSTEM_RESOURCES, /* c000009a
(STATUS_INSUFFICIENT_RESOURCES) */
ERROR_PATH_NOT_FOUND, /* c000009b
(STATUS_DFS_EXIT_PATH_FOUND) */
ERROR_CRC, /* c000009c
(STATUS_DEVICE_DATA_ERROR) */
- ERROR_NOT_READY, /* c000009d
(STATUS_DEVICE_NOT_CONNECTED) */
+ ERROR_DEVICE_NOT_CONNECTED, /* c000009d
(STATUS_DEVICE_NOT_CONNECTED) */
ERROR_NOT_READY, /* c000009e
(STATUS_DEVICE_POWER_FAILURE) */
ERROR_INVALID_ADDRESS, /* c000009f
(STATUS_FREE_VM_NOT_AT_BASE) */
ERROR_INVALID_ADDRESS, /* c00000a0
(STATUS_MEMORY_NOT_ALLOCATED) */
@@ -907,7 +907,7 @@
if (HIWORD(Status) == 0x8007)
return LOWORD(Status);
- DbgPrint("RTL: RtlNtStatusToDosErrorNoTeb(0x%lx): no valid W32 error
mapping\n", Status);
+ DPRINT1("RTL: RtlNtStatusToDosErrorNoTeb(0x%lx): no valid W32 error
mapping\n", Status);
return ERROR_MR_MID_NOT_FOUND;
}