summaryrefslogtreecommitdiffhomepage
path: root/libs/lucittpd/src/lib/log.c
diff options
context:
space:
mode:
Diffstat (limited to 'libs/lucittpd/src/lib/log.c')
-rw-r--r--libs/lucittpd/src/lib/log.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/lucittpd/src/lib/log.c b/libs/lucittpd/src/lib/log.c
index b6ce8c28e..001bad473 100644
--- a/libs/lucittpd/src/lib/log.c
+++ b/libs/lucittpd/src/lib/log.c
@@ -39,7 +39,7 @@ void log_printf(char *fmt, ...)
va_end(ap);
if(daemonize)
- syslog(10, p);
+ syslog(10, "%s", p);
else
- printf(p);
+ printf("%s", p);
}