aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-06 14:03:02 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2012-02-06 14:03:02 -0500
commit030988de935fbbf88bc5de0e3a01220867c8b064 (patch)
treeecac02cfcde312e196a07eb2caa24b447ed9b72f /src
parentdef43439373421a63072a9e788085ce54a1f8889 (diff)
downloadmysqlerl-030988de935fbbf88bc5de0e3a01220867c8b064.tar.gz
mysqlerl-030988de935fbbf88bc5de0e3a01220867c8b064.zip
Quash an error when printing time.
Diffstat (limited to 'src')
-rw-r--r--src/log.c2
1 files changed, 1 insertions, 1 deletions
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());