Alexandre Julliard : ntdll: Added error mapping for ENXIO.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Oct 3 10:04:39 CDT 2006


Module: wine
Branch: master
Commit: e57118b2fd86d823315de9f0b47981706c2accd7
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=e57118b2fd86d823315de9f0b47981706c2accd7

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Tue Oct  3 15:06:41 2006 +0200

ntdll: Added error mapping for ENXIO.

---

 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 c1acdd1..49a9e96 100644
--- a/dlls/ntdll/file.c
+++ b/dlls/ntdll/file.c
@@ -358,6 +358,7 @@ NTSTATUS FILE_GetNtStatus(void)
 #ifdef ENOMEDIUM
     case ENOMEDIUM: return STATUS_NO_MEDIA_IN_DEVICE;
 #endif
+    case ENXIO:     return STATUS_NO_SUCH_DEVICE;
     case ENOTTY:
     case EOPNOTSUPP:return STATUS_NOT_SUPPORTED;
     case ECONNRESET:return STATUS_PIPE_DISCONNECTED;




More information about the wine-cvs mailing list