aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/log.c')
-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());