git.samba.org
/
abartlet
/
samba.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af87f98
)
r10103: Put an #ifdef guard around ENOTSUP to fix systems that don't have it
author
Tim Potter
<tpot@samba.org>
Fri, 9 Sep 2005 04:21:19 +0000
(
04:21
+0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:37:59 +0000
(13:37 -0500)
(OpenBSD 3.7).
(This used to be commit
cc24af6545b19ad7710c43399c396e1807f80eeb
)
source4/libcli/util/errormap.c
patch
|
blob
|
history
diff --git
a/source4/libcli/util/errormap.c
b/source4/libcli/util/errormap.c
index 808f5427c69b51d7abb093cf54a18634fd231b50..95fac97428f283adb5cf58bd97e2da2a2364e4f3 100644
(file)
--- a/
source4/libcli/util/errormap.c
+++ b/
source4/libcli/util/errormap.c
@@
-1278,7
+1278,9
@@
const struct unix_error_map unix_nt_errmap[] = {
{ EPIPE, NT_STATUS_CONNECTION_DISCONNECTED },
{ ECONNREFUSED, NT_STATUS_CONNECTION_REFUSED },
{ EBUSY, NT_STATUS_SHARING_VIOLATION },
+#ifdef ENOTSUP
{ ENOTSUP, NT_STATUS_NOT_SUPPORTED},
+#endif
#ifdef EHOSTUNREACH
{ EHOSTUNREACH, NT_STATUS_HOST_UNREACHABLE },
#endif