server: Map EFAULT to STATUS_ACCESS_VIOLATION.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
44c395d616
commit
523032e6f1
|
@ -1286,7 +1286,7 @@ static int sock_get_ntstatus( int err )
|
||||||
case EBUSY: return STATUS_DEVICE_BUSY;
|
case EBUSY: return STATUS_DEVICE_BUSY;
|
||||||
case EPERM:
|
case EPERM:
|
||||||
case EACCES: return STATUS_ACCESS_DENIED;
|
case EACCES: return STATUS_ACCESS_DENIED;
|
||||||
case EFAULT: return STATUS_NO_MEMORY;
|
case EFAULT: return STATUS_ACCESS_VIOLATION;
|
||||||
case EINVAL: return STATUS_INVALID_PARAMETER;
|
case EINVAL: return STATUS_INVALID_PARAMETER;
|
||||||
case ENFILE:
|
case ENFILE:
|
||||||
case EMFILE: return STATUS_TOO_MANY_OPENED_FILES;
|
case EMFILE: return STATUS_TOO_MANY_OPENED_FILES;
|
||||||
|
|
Loading…
Reference in New Issue