Commit ea782b60 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Translate ENODEV and ENXIO error codes to NT status codes.

parent f0006c8e
...@@ -363,6 +363,8 @@ void file_set_error(void) ...@@ -363,6 +363,8 @@ void file_set_error(void)
case EIO: set_error( STATUS_ACCESS_VIOLATION ); break; case EIO: set_error( STATUS_ACCESS_VIOLATION ); break;
case ENOTDIR: set_error( STATUS_NOT_A_DIRECTORY ); break; case ENOTDIR: set_error( STATUS_NOT_A_DIRECTORY ); break;
case EFBIG: set_error( STATUS_SECTION_TOO_BIG ); break; case EFBIG: set_error( STATUS_SECTION_TOO_BIG ); break;
case ENODEV: set_error( STATUS_NO_SUCH_DEVICE ); break;
case ENXIO: set_error( STATUS_NO_SUCH_DEVICE ); break;
#ifdef EOVERFLOW #ifdef EOVERFLOW
case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break; case EOVERFLOW: set_error( STATUS_INVALID_PARAMETER ); break;
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment