X-Git-Url: http://git.alex.org.uk diff --git a/cliserv.h b/cliserv.h index 5d6dc48..ebcb036 100644 --- a/cliserv.h +++ b/cliserv.h @@ -97,7 +97,7 @@ void err(const char *s) s1[maxlen-1] = '\0'; #ifdef ISSERVER - syslog(LOG_ERR, s1); + syslog(LOG_ERR, "%s", s1); #else fprintf(stderr, "Error: %s\n", s1); #endif