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-5.2.1~1676 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=540b80397f2863553f694aecf8524e463a0bc4f9;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); }