From: Kern Sibbald Date: Wed, 24 Feb 2010 18:13:10 +0000 (+0100) Subject: Tweak syslog call to satisfy newer compilers X-Git-Tag: Release-7.0.0~2141 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3bb3b135eae1be46acb6bdced798e65fe2c41369;p=bacula%2Fbacula Tweak syslog call to satisfy newer compilers --- 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); }