r22855: fix the build
authorMichael Adam <obnox@samba.org>
Mon, 14 May 2007 14:53:45 +0000 (14:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:22:03 +0000 (12:22 -0500)
(#if inside DEBUG macro not allowed...)

Michael

source/nsswitch/winbindd_cache.c

index 5e9a95aea18c0bf4cad54f1f1ba87e5507463cfb..28a0a0942288d53403ad567d31c7228d4d9b25eb 100644 (file)
@@ -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)) {