]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak syslog call to satisfy newer compilers
authorKern Sibbald <kern@sibbald.com>
Wed, 24 Feb 2010 18:13:10 +0000 (19:13 +0100)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:49:35 +0000 (16:49 +0200)
bacula/src/lib/message.c

index 969677992612e6926a67cfedec7e1d31f0d1367f..6d951e2bbfd20fec13cf0bd1f40af084ddda94bc 100644 (file)
@@ -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);
 }