summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-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)) {