From b3f016aaf1b3351b7e0d1f19f59c9b7def4b181c Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sat, 14 Dec 2019 10:13:48 +0100 Subject: [PATCH] syslogd: Minor, fix size_t format specifier %zd vs %zu Signed-off-by: Joachim Nilsson --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index 9487212..0ac6e51 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -1635,7 +1635,7 @@ static void fprintlog_successive(struct filed *f, int flags) buffer.timestamp = f->f_lasttime; buffer.flags = flags; - snprintf(msg, sizeof(msg), "last message buffered %zd times", + snprintf(msg, sizeof(msg), "last message buffered %zu times", f->f_prevcount); buffer.msg = msg;