13 lines
482 B
Diff
13 lines
482 B
Diff
diff --git a/n2n.c b/n2n.c
|
|
index cfcfb74..ac98ad6 100644
|
|
--- a/n2n.c
|
|
+++ b/n2n.c
|
|
@@ -120,7 +120,7 @@ void traceEvent(int eventTraceLevel, char* file, int line, char * format, ...) {
|
|
}
|
|
|
|
snprintf(out_buf, sizeof(out_buf), "%s%s", extra_msg, buf);
|
|
- syslog(LOG_INFO, out_buf);
|
|
+ syslog(LOG_INFO, "%s", out_buf);
|
|
} else {
|
|
snprintf(out_buf, sizeof(out_buf), "%s [%11s:%4d] %s%s", theDate, file, line, extra_msg, buf);
|
|
printf("%s\n", out_buf);
|