diff --git a/dlls/ntdll/file.c b/dlls/ntdll/file.c index 0d9e7df4b84..038b75530f5 100644 --- a/dlls/ntdll/file.c +++ b/dlls/ntdll/file.c @@ -371,8 +371,8 @@ NTSTATUS FILE_GetNtStatus(void) case EOPNOTSUPP:return STATUS_NOT_SUPPORTED; case ECONNRESET:return STATUS_PIPE_DISCONNECTED; case EFAULT: return STATUS_ACCESS_VIOLATION; + case ESPIPE: return STATUS_ILLEGAL_FUNCTION; case ENOEXEC: /* ?? */ - case ESPIPE: /* ?? */ case EEXIST: /* ?? */ default: FIXME( "Converting errno %d to STATUS_UNSUCCESSFUL\n", err );