diff options
author | Stefan Metzmacher <metze@samba.org> | 2009-03-06 07:15:13 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2009-03-06 07:31:33 +0100 |
commit | df145c33822f1fc77e2602709a75c2eac71abab3 (patch) | |
tree | 07504f7216d92c3ed802888c2fc6befd3aed13c0 /source4 | |
parent | 67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68 (diff) | |
download | samba-df145c33822f1fc77e2602709a75c2eac71abab3.tar.gz samba-df145c33822f1fc77e2602709a75c2eac71abab3.tar.bz2 samba-df145c33822f1fc77e2602709a75c2eac71abab3.zip |
s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/libcli/util/errormap.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c index 0185e66c39..930e45b214 100644 --- a/source4/libcli/util/errormap.c +++ b/source4/libcli/util/errormap.c @@ -1356,6 +1356,10 @@ const struct unix_error_map unix_nt_errmap[] = { #ifdef ENOSYS { ENOSYS, NT_STATUS_INVALID_SYSTEM_SERVICE }, #endif +#ifdef ECANCELED + { ECANCELED, NT_STATUS_CANCELLED }, +#endif + { 0, NT_STATUS_UNSUCCESSFUL } }; |