summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-05-14 14:53:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:22:03 -0500
commit1f7c3007b91e00662172dc6eda028f2e23ef7887 (patch)
tree2c95b0cbb418e297e241064f5d9bd72a1c572a26
parentd34f6bb969092166c961e328229b1b05a30f6930 (diff)
downloadsamba-1f7c3007b91e00662172dc6eda028f2e23ef7887.tar.gz
samba-1f7c3007b91e00662172dc6eda028f2e23ef7887.tar.bz2
samba-1f7c3007b91e00662172dc6eda028f2e23ef7887.zip
r22855: fix the build
(#if inside DEBUG macro not allowed...) Michael (This used to be commit f0570dc3d9e07475764e466901d4abfe939590f8)
-rw-r--r--source3/nsswitch/winbindd_cache.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c
index 5e9a95aea1..28a0a09422 100644
--- a/source3/nsswitch/winbindd_cache.c
+++ b/source3/nsswitch/winbindd_cache.c
@@ -3463,14 +3463,12 @@ int winbindd_validate_cache(void)
}
if (WIFSIGNALED(child_status)) {
DEBUG(10, ("winbindd_validate_cache: child terminated "
- "by signal %d%s\n",
- WTERMSIG(child_status),
-#if defined(WCOREDUMP)
- WCOREDUMP(child_status)?" (core dumped)":""
-#else
- ""
+ "by signal %d\n", WTERMSIG(child_status)));
+#ifdef WCOREDUMP
+ if (WCOREDUMP(child_status)) {
+ DEBUGADD(10, ("core dumped\n"));
+ }
#endif
- ));
ret = WTERMSIG(child_status);
}
if (WIFSTOPPED(child_status)) {