diff options
author | Brian Cully <bjc@kublai.com> | 2012-02-06 14:03:02 -0500 |
---|---|---|
committer | Brian Cully <github.20.shmit@spamgourmet.com> | 2012-02-06 14:03:02 -0500 |
commit | 030988de935fbbf88bc5de0e3a01220867c8b064 (patch) | |
tree | ecac02cfcde312e196a07eb2caa24b447ed9b72f /src | |
parent | def43439373421a63072a9e788085ce54a1f8889 (diff) | |
download | mysqlerl-030988de935fbbf88bc5de0e3a01220867c8b064.tar.gz mysqlerl-030988de935fbbf88bc5de0e3a01220867c8b064.zip |
Quash an error when printing time.
Diffstat (limited to 'src')
-rw-r--r-- | src/log.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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()); |