From fd261fea74dedefe68b9b37fdaf86e633ffb3c75 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 25 Oct 2011 15:12:05 +0200 Subject: 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 --- source3/lib/errmap_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 }, -- cgit