summaryrefslogtreecommitdiff
path: root/source4/libcli/util
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2006-04-03 06:43:30 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:00:11 -0500
commit69e40fa99af88f5cf78409c6ac5ebe8ca611ccb2 (patch)
treeaba58c03b83819880f72254b5e1458c098634a34 /source4/libcli/util
parent733b5af73f95d2344dd0f407a5b2435b5b765cd3 (diff)
downloadsamba-69e40fa99af88f5cf78409c6ac5ebe8ca611ccb2.tar.gz
samba-69e40fa99af88f5cf78409c6ac5ebe8ca611ccb2.tar.bz2
samba-69e40fa99af88f5cf78409c6ac5ebe8ca611ccb2.zip
r14876: added ENOSYS to unix error mapping
(This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51)
Diffstat (limited to 'source4/libcli/util')
-rw-r--r--source4/libcli/util/errormap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/libcli/util/errormap.c b/source4/libcli/util/errormap.c
index bbaac629e4..f4feaeffc5 100644
--- a/source4/libcli/util/errormap.c
+++ b/source4/libcli/util/errormap.c
@@ -1338,6 +1338,9 @@ const struct unix_error_map unix_nt_errmap[] = {
#ifdef ENODEV
{ ENODEV, NT_STATUS_NO_SUCH_DEVICE },
#endif
+#ifdef ENOSYS
+ { ENOSYS, NT_STATUS_INVALID_SYSTEM_SERVICE },
+#endif
{ 0, NT_STATUS_UNSUCCESSFUL }
};