summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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 }
};