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:
44f2d54
)
r16940: libnscd sets errno, use that to display error message.
author
Günther Deschner
<gd@samba.org>
Tue, 11 Jul 2006 09:59:22 +0000
(09:59 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:12 +0000
(11:19 -0500)
Guenther
(This used to be commit
df10448e2c6166d1c129c2d9a9a74c5b4a42555f
)
source3/nsswitch/winbindd_util.c
patch
|
blob
|
history
diff --git
a/source3/nsswitch/winbindd_util.c
b/source3/nsswitch/winbindd_util.c
index d974ad8c56d8fbf647a6d98eba459508f2c825b1..67b94817adb0fa7440a723b49474864a91609b3c 100644
(file)
--- a/
source3/nsswitch/winbindd_util.c
+++ b/
source3/nsswitch/winbindd_util.c
@@
-1211,13
+1211,13
@@
void winbindd_flush_nscd_cache(void)
int ret = nscd_flush_cache("passwd");
if (ret) {
DEBUG(5,("failed to flush nscd cache for 'passwd' service: %s\n",
- strerror(
ret
)));
+ strerror(
errno
)));
}
ret = nscd_flush_cache("group");
if (ret) {
DEBUG(5,("failed to flush nscd cache for 'group' service: %s\n",
- strerror(
ret
)));
+ strerror(
errno
)));
}
#else
return;