summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2001-06-05 16:08:15 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2001-06-05 16:08:15 +0000
commit540e33000b505a13c96d6caef8d1db4650a5b472 (patch)
tree4b309c2fdd3eac4aa89a213f1811d35639372ae3 /src
parent58c31c551442cee29b2711c37fcd573a1ee0fd6a (diff)
downloadtinyproxy-540e33000b505a13c96d6caef8d1db4650a5b472.tar.gz
tinyproxy-540e33000b505a13c96d6caef8d1db4650a5b472.zip
Changed the format type in the printf() to remove the compiler error (I
hope.)
Diffstat (limited to '')
-rw-r--r--src/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/log.c b/src/log.c
index efc1d63..a24aebd 100644
--- a/src/log.c
+++ b/src/log.c
@@ -1,4 +1,4 @@
-/* $Id: log.c,v 1.6 2001-06-02 03:38:02 rjkaes Exp $
+/* $Id: log.c,v 1.7 2001-06-05 16:08:15 rjkaes Exp $
*
* Logs the various messages which tinyproxy produces to either a log file or
* the syslog daemon. Not much to it...
@@ -90,7 +90,7 @@ void log_message(short int level, char *fmt, ...)
if (!(cf = config.logf))
cf = stderr;
- fprintf(cf, "%-9s %s [%u]: ", syslog_level[level],
+ fprintf(cf, "%-9s %s [%ul]: ", syslog_level[level],
time_string, getpid());
vfprintf(cf, fmt, args);
fprintf(cf, "\n");