]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Summary: debug format string portability.
authorrobertc <>
Sun, 17 Aug 2003 19:22:30 +0000 (19:22 +0000)
committerrobertc <>
Sun, 17 Aug 2003 19:22:30 +0000 (19:22 +0000)
Keywords:

pid_t is not an int on all platforms - fixed by moving to the new debugs macro.

src/main.cc

index a4f7793fd44a1ccf4c3f18f3a9945420eadc600a..8fe67f4dcba0318522d113a18ca8013e1297a3db 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: main.cc,v 1.385 2003/07/22 15:23:02 robertc Exp $
+ * $Id: main.cc,v 1.386 2003/08/17 13:22:30 robertc Exp $
  *
  * DEBUG: section 1     Startup and Main Loop
  * AUTHOR: Harvest Derived
@@ -1274,7 +1274,7 @@ checkRunningPid(void)
     if (kill(pid, 0) < 0)
         return 0;
 
-    debug(0, 0) ("Squid is already running!  Process ID %d\n", pid);
+    debugs(0, 0, "Squid is already running!  Process ID " <<  pid);
 
     return 1;
 }