summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-10-25 15:12:05 +0200
committerStefan Metzmacher <metze@samba.org>2011-10-25 17:58:33 +0200
commitfd261fea74dedefe68b9b37fdaf86e633ffb3c75 (patch)
tree1c4ba47c82518784774e483d10fff2be419aff53 /source3
parente947acaa8a36f574a8245c174da28d3ad7fab452 (diff)
downloadsamba-fd261fea74dedefe68b9b37fdaf86e633ffb3c75.tar.gz
samba-fd261fea74dedefe68b9b37fdaf86e633ffb3c75.tar.bz2
samba-fd261fea74dedefe68b9b37fdaf86e633ffb3c75.zip
s3:lib/errmap_unix: map EPIPE to NT_STATUS_CONNECTION_DISCONNECTED
This lets map_nt_error_from_unix() return the same value as map_nt_error_from_unix_common(). There are no callers relying on NT_STATUS_PIPE_BROKEN. metze
Diffstat (limited to 'source3')
-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 },