r14876: added ENOSYS to unix error mapping
authorAndrew Tridgell <tridge@samba.org>
Mon, 3 Apr 2006 06:43:30 +0000 (06:43 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:00:11 +0000 (14:00 -0500)
(This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51)

source4/libcli/util/errormap.c

index bbaac629e471ae48dbb9fa50a15c17e19ca8b0c8..f4feaeffc5e82a1b691ec5b2fad589088620caac 100644 (file)
@@ -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 }
 };