From 84b899ce48d8f0d0a85fc76606ce01a969dfeea2 Mon Sep 17 00:00:00 2001 From: Wolfgang Hottgenroth Date: Mon, 15 Feb 2021 12:36:43 +0100 Subject: [PATCH] sink adjusted --- sink/logging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sink/logging.c b/sink/logging.c index 63caa70..e1d4e4f 100644 --- a/sink/logging.c +++ b/sink/logging.c @@ -47,7 +47,7 @@ void logmsg(int prio, const char* format, ...) { } openlog("counter", 0, facility); - syslog(prio, buf); + syslog(prio, "%s", buf); closelog(); }