From 3bb3b135eae1be46acb6bdced798e65fe2c41369 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Wed, 24 Feb 2010 19:13:10 +0100 Subject: [PATCH] Tweak syslog call to satisfy newer compilers --- bacula/src/lib/message.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/message.c b/bacula/src/lib/message.c index 9696779926..6d951e2bbf 100644 --- a/bacula/src/lib/message.c +++ b/bacula/src/lib/message.c @@ -123,7 +123,7 @@ static void delivery_error(const char *fmt,...) fputs(pool_buf, stdout); /* print this here to INSURE that it is printed */ fflush(stdout); - syslog(LOG_DAEMON|LOG_ERR, pool_buf); + syslog(LOG_DAEMON|LOG_ERR, "%s", pool_buf); free_memory(pool_buf); } -- 2.39.5