From 3da21ae4ccca49971551bcd90e0b30bfcd827708 Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 16 Dec 2001 02:15:24 +0000 Subject: [PATCH] logf argument names changed. --- lib/log.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/log.c b/lib/log.c index 312a6dd..1999b17 100644 --- a/lib/log.c +++ b/lib/log.c @@ -238,13 +238,13 @@ void log(char* logString) free (logBuffer); } -void logf(const char* pszFormat, ...) +void logf(const char* format, ...) { char buf[1024]; va_list arglist; - va_start(arglist, pszFormat); + va_start(arglist, format); buf[0] = 0; - vsprintf(&buf[strlen(buf)], pszFormat, arglist); + vsprintf(&buf[strlen(buf)], format, arglist); va_end(arglist); strcat(buf, "\n"); log(buf); -- 1.7.10.4