]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix compiler warning
authorKern Sibbald <kern@sibbald.com>
Mon, 5 Apr 2010 13:44:08 +0000 (15:44 +0200)
committerKern Sibbald <kern@sibbald.com>
Mon, 5 Apr 2010 13:45:52 +0000 (15:45 +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);
 }