summaryrefslogtreecommitdiff
path: root/source3/lib/errmap_unix.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2009-03-09 21:42:13 +0100
committerJelmer Vernooij <jelmer@samba.org>2009-03-09 21:42:13 +0100
commit3b181564c552ed3bc464534714148556deeeca2c (patch)
tree7e5a1d454dbec89cd85f9b5804566161a6790a24 /source3/lib/errmap_unix.c
parent0d2de5380d13d544c382e3626e3b84fbea4b70a7 (diff)
parentc666aef471174ca5d95afcc48924325e7caded14 (diff)
downloadsamba-3b181564c552ed3bc464534714148556deeeca2c.tar.gz
samba-3b181564c552ed3bc464534714148556deeeca2c.tar.bz2
samba-3b181564c552ed3bc464534714148556deeeca2c.zip
Merge branch 'master' of ssh://git.samba.org/data/git/samba
Diffstat (limited to 'source3/lib/errmap_unix.c')
-rw-r--r--source3/lib/errmap_unix.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/lib/errmap_unix.c b/source3/lib/errmap_unix.c
index 9adb237096..bb09726ee0 100644
--- a/source3/lib/errmap_unix.c
+++ b/source3/lib/errmap_unix.c
@@ -95,6 +95,9 @@ const struct unix_error_map unix_dos_nt_errmap[] = {
#ifdef ENOATTR
{ ENOATTR, ERRDOS, ERRbadfile, NT_STATUS_NOT_FOUND },
#endif
+#ifdef ECANCELED
+ { ECANCELED, ERRDOS, ERRbadfid, NT_STATUS_CANCELLED},
+#endif
{ 0, 0, 0, NT_STATUS_OK }
};