From: Kern Sibbald Date: Mon, 5 Apr 2010 13:44:08 +0000 (+0200) Subject: Fix compiler warning X-Git-Tag: Release-5.0.2~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b889e2992888f3d317eacc893346a5e9349915fa;p=bacula%2Fbacula Fix compiler warning --- 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); }