s4:errormap: map ECANCELED to NT_STATUS_CANCELLED
authorStefan Metzmacher <metze@samba.org>
Fri, 6 Mar 2009 06:15:13 +0000 (07:15 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 6 Mar 2009 06:31:33 +0000 (07:31 +0100)
metze

source4/libcli/util/errormap.c

index 0185e66c3905c2a565178453efce84e3a0fd8dc5..930e45b214e270043bc7224be705571f60d1eef9 100644 (file)
@@ -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 }
 };