git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
12429bb
)
r14876: added ENOSYS to unix error mapping
author
Andrew Tridgell
<tridge@samba.org>
Mon, 3 Apr 2006 06:43:30 +0000
(06:43 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 19:00:11 +0000
(14:00 -0500)
source/libcli/util/errormap.c
patch
|
blob
|
history
diff --git
a/source/libcli/util/errormap.c
b/source/libcli/util/errormap.c
index bbaac629e471ae48dbb9fa50a15c17e19ca8b0c8..f4feaeffc5e82a1b691ec5b2fad589088620caac 100644
(file)
--- a/
source/libcli/util/errormap.c
+++ b/
source/libcli/util/errormap.c
@@
-1337,6
+1337,9
@@
const struct unix_error_map unix_nt_errmap[] = {
#endif
#ifdef ENODEV
{ ENODEV, NT_STATUS_NO_SUCH_DEVICE },
+#endif
+#ifdef ENOSYS
+ { ENOSYS, NT_STATUS_INVALID_SYSTEM_SERVICE },
#endif
{ 0, NT_STATUS_UNSUCCESSFUL }
};