git.samba.org
/
jelmer
/
samba4-debian.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
db75b2d
)
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).
source/libcli/util/errormap.c
patch
|
blob
|
history
diff --git
a/source/libcli/util/errormap.c
b/source/libcli/util/errormap.c
index 808f5427c69b51d7abb093cf54a18634fd231b50..95fac97428f283adb5cf58bd97e2da2a2364e4f3 100644
(file)
--- a/
source/libcli/util/errormap.c
+++ b/
source/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