From b889e2992888f3d317eacc893346a5e9349915fa Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Mon, 5 Apr 2010 15:44:08 +0200 Subject: [PATCH] Fix compiler warning --- 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