summaryrefslogtreecommitdiff
path: root/source4/libcli
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-03-06 07:15:13 +0100
committerStefan Metzmacher <metze@samba.org>2009-03-06 07:31:33 +0100
commitdf145c33822f1fc77e2602709a75c2eac71abab3 (patch)
tree07504f7216d92c3ed802888c2fc6befd3aed13c0 /source4/libcli
parent67d12e9c6bc9e34ecc335ddfc85fc59ed9167b68 (diff)
downloadsamba-df145c33822f1fc77e2602709a75c2eac71abab3.tar.gz
samba-df145c33822f1fc77e2602709a75c2eac71abab3.tar.bz2
samba-df145c33822f1fc77e2602709a75c2eac71abab3.zip
s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
metze
Diffstat (limited to 'source4/libcli')
-rw-r--r--source4/libcli/util/errormap.c4
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 }
};