From 030988de935fbbf88bc5de0e3a01220867c8b064 Mon Sep 17 00:00:00 2001 From: Brian Cully Date: Mon, 6 Feb 2012 14:03:02 -0500 Subject: Quash an error when printing time. --- src/log.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/log.c b/src/log.c index c1d4a98..80aa755 100644 --- a/src/log.c +++ b/src/log.c @@ -46,7 +46,7 @@ logmsg(const char *format, ...) (void)fprintf(out, "LOGERROR - Failed to parse time (now: %d): ", (int)now_time); } else { - (void)fprintf(out, timebuf); + (void)fprintf(out, "%s", timebuf); } } (void)fprintf(out, "[%d]: ", getpid()); -- cgit v1.2.3