diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-10-25 15:12:05 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-10-25 17:58:33 +0200 |
commit | fd261fea74dedefe68b9b37fdaf86e633ffb3c75 (patch) | |
tree | 1c4ba47c82518784774e483d10fff2be419aff53 /source3/lib | |
parent | e947acaa8a36f574a8245c174da28d3ad7fab452 (diff) | |
download | samba-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/lib')
-rw-r--r-- | source3/lib/errmap_unix.c | 2 |
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 }, |