summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJim McDonough <jmcd@samba.org>2009-10-29 11:11:43 -0400
committerJim McDonough <jmcd@samba.org>2009-10-29 11:11:43 -0400
commitf88ab1b1515b248dde4674caf602c04b40c46055 (patch)
tree30ce6a14ab46921f1be70c62c86ee743fa9942ac /source3
parent184afaa04ca90e089be0071ffb024a884d9d347f (diff)
downloadsamba-f88ab1b1515b248dde4674caf602c04b40c46055.tar.gz
samba-f88ab1b1515b248dde4674caf602c04b40c46055.tar.bz2
samba-f88ab1b1515b248dde4674caf602c04b40c46055.zip
s3: Fix incorrect rc check of nscd_flush_cache.
At least this only resulted in an incorrect debug message.
Diffstat (limited to 'source3')
-rw-r--r--source3/lib/util_nscd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_nscd.c b/source3/lib/util_nscd.c
index f019bdd70b..4feab3b8ac 100644
--- a/source3/lib/util_nscd.c
+++ b/source3/lib/util_nscd.c
@@ -22,7 +22,7 @@
static void smb_nscd_flush_cache(const char *service)
{
#ifdef HAVE_NSCD_FLUSH_CACHE
- if (!nscd_flush_cache(service)) {
+ if (nscd_flush_cache(service)) {
DEBUG(10,("failed to flush nscd cache for '%s' service: %s. "
"Is nscd running?\n",
service, strerror(errno)));