diff --git a/common/format-output.c b/common/format-output.c index c5f1b51f..98fb8607 100644 --- a/common/format-output.c +++ b/common/format-output.c @@ -280,7 +280,7 @@ void fmt_print(struct format_ctx *fctx, const char* key, ...) localtime_r(&ts, &tm); strftime(tstr, 256, "%Y-%m-%d %X %z", &tm); - printf(tstr); + printf("%s", tstr); } else { putchar('-'); }