summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/errmap_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index ea195474ef..28f527ec95 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -50,7 +50,7 @@ static const struct {
{ ENOMEM, NT_STATUS_NO_MEMORY },
{ EISDIR, NT_STATUS_FILE_IS_A_DIRECTORY},
#ifdef EPIPE
- { EPIPE, NT_STATUS_PIPE_BROKEN},
+ { EPIPE, NT_STATUS_CONNECTION_DISCONNECTED},
#endif
{ EMLINK, NT_STATUS_TOO_MANY_LINKS },
{ ENOSYS, NT_STATUS_NOT_SUPPORTED },