Add ENODEV to the error codes mappings.

crwulff (none) crwulff at cybertron.
Tue Dec 18 21:16:32 CST 2007


---
 dlls/ntdll/file.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

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;
-- 
1.5.2.5


--=-CtJeqMMwPeG7HrKRNeJT--




More information about the wine-patches mailing list