ntdll: Add ENODEV to the error codes mappings.
Chris Wulff
crwulff at rochester.rr.com
Tue Dec 18 21:57:28 CST 2007
-- Chris Wulff
-------------- next part --------------
commit ffc2cc8091f367cb0a7ebcb2b974db2c40805237
Author: crwulff <crwulff at cybertron.(none)>
Date: Tue Dec 18 22:16:32 2007 -0500
Add ENODEV to the error codes mappings.
diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c
index b9a763f..5da6c3b 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -321,6 +321,7 @@ NTSTATUS FILE_GetNtStatus(void)
#ifdef ENOMEDIUM
case ENOMEDIUM: return STATUS_NO_MEDIA_IN_DEVICE;
#endif
+ case ENODEV:
case ENXIO: return STATUS_NO_SUCH_DEVICE;
case ENOTTY:
case EOPNOTSUPP:return STATUS_NOT_SUPPORTED;
More information about the wine-patches
mailing list