From ed00ac21dc54c5bff3331de874f5ab353d39fbdb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 13 Sep 2014 20:44:13 +0200 Subject: lib: Add EMSGSIZE to map_nt_error_from_unix Signed-off-by: Volker Lendecke Reviewed-by: Martin Schwenke --- source3/lib/errmap_unix.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c index c5e190ce8c..56d3f00da8 100644 --- a/source3/lib/errmap_unix.c +++ b/source3/lib/errmap_unix.c @@ -49,6 +49,7 @@ static const struct { { ENOSPC, NT_STATUS_DISK_FULL }, { ENOMEM, NT_STATUS_NO_MEMORY }, { EISDIR, NT_STATUS_FILE_IS_A_DIRECTORY}, + { EMSGSIZE, NT_STATUS_PORT_MESSAGE_TOO_LONG }, #ifdef EPIPE { EPIPE, NT_STATUS_CONNECTION_DISCONNECTED}, #endif -- cgit