From df145c33822f1fc77e2602709a75c2eac71abab3 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 6 Mar 2009 07:15:13 +0100 Subject: s4:errormap: map ECANCELED to NT_STATUS_CANCELLED metze --- source4/libcli/util/errormap.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source4/libcli/util/errormap.c') 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 } }; -- cgit