git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Add EMSGSIZE to map_nt_error_from_unix
[samba.git]
/
source3
/
lib
/
errmap_unix.c
diff --git
a/source3/lib/errmap_unix.c
b/source3/lib/errmap_unix.c
index c5e190ce8c23fe44c5a73a09b0de0b92d3db099a..56d3f00da8d1edfd1c023556e09e6f6a9118cc21 100644
(file)
--- 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