From 69e40fa99af88f5cf78409c6ac5ebe8ca611ccb2 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 3 Apr 2006 06:43:30 +0000 Subject: r14876: added ENOSYS to unix error mapping (This used to be commit 77f32a273541afcd07f6da8a26315bf21ea05c51) --- source4/libcli/util/errormap.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') 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 @@ -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 } }; -- cgit