]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/events.c
Use the command line utility dropdb instead of the psql command
[bacula/bacula] / bacula / src / lib / events.c
index 3333655826c599a7d3992ddb677b566afbf17b78..6e602076b9cd5080d3b4e9d61b9b7edbdf7187eb 100644 (file)
@@ -43,7 +43,7 @@ void log_event(UPSINFO *ups, int level, char *fmt, ...)
     vsprintf(msg, fmt, arg_ptr);
     va_end(arg_ptr);
 
-    syslog(level, msg);          /* log the event */
+    syslog(level, "%s", msg);         /* log the event */
 
     /* Write out to our temp file. LOG_INFO is DATA logging, so
        do not write it to our temp events file. */