From 75524d1878e1cd1f6ae9b17a85d28aa955e2373a Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 27 Jun 2021 19:53:01 +0200 Subject: [PATCH] syslogd: minor, improve flog() internal logging a bit Signed-off-by: Joachim Wiberg --- src/syslogd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syslogd.c b/src/syslogd.c index b23df8d..832e0e0 100644 --- a/src/syslogd.c +++ b/src/syslogd.c @@ -2027,7 +2027,7 @@ void flog(int pri, char *fmt, ...) (void)vsnprintf(buf, sizeof(buf), fmt, ap); va_end(ap); - logit("%s\n", buf); + logit("flog<%d>: %s\n", pri, buf); (void)snprintf(proc_id, sizeof(proc_id), "%d", getpid()); memset(&buffer, 0, sizeof(buffer));