aboutsummaryrefslogtreecommitdiff
path: root/src/diag.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diag.c')
-rw-r--r--src/diag.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diag.c b/src/diag.c
index 8ae3911..c377b45 100644
--- a/src/diag.c
+++ b/src/diag.c
@@ -28,6 +28,7 @@ syslog_printer (int prio, const char *fmt, va_list ap)
#else
char buf[128];
vsnprintf (buf, sizeof buf, fmt, ap);
+ syslog (prio, "%s", buf);
#endif
}

Return to:

Send suggestions and report system problems to the System administrator.