From: robertc <> Date: Sun, 17 Aug 2003 19:22:30 +0000 (+0000) Subject: Summary: debug format string portability. X-Git-Tag: SQUID_3_0_PRE4~1247 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=cb7a4fcbedc0bf7bf6f9176e955db77d831b0290;p=thirdparty%2Fsquid.git Summary: debug format string portability. Keywords: pid_t is not an int on all platforms - fixed by moving to the new debugs macro. --- diff --git a/src/main.cc b/src/main.cc index a4f7793fd4..8fe67f4dcb 100644 --- a/src/main.cc +++ b/src/main.cc @@ -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; }