filesystem mount options in uci as optional parameter
[project/mountd.git] / log.c
diff --git a/log.c b/log.c
index ae7a7c9..8ef4d5a 100644 (file)
--- a/log.c
+++ b/log.c
@@ -26,7 +26,7 @@ void log_printf(char *fmt, ...)
        va_end(ap);
 
        if(daemonize)
-               syslog(10, p);
+               syslog(10, "%s", p);
        else
-               printf(p);
+               printf("%s", p);
 }