--- rdate.c 2008-12-22 15:22:03.000000000 +0100 +++ rdate.c.oden 2008-12-22 15:23:15.000000000 +0100 @@ -69,7 +69,7 @@ static void writeLog(int is_error, char return; /* Error, which we can't report because this _is_ the error reporting mechanism */ if(log_mode) - syslog(is_error?LOG_WARNING:LOG_INFO, buf); + syslog(is_error?LOG_WARNING:LOG_INFO, "%s", buf); if(is_error || print_mode) fprintf(is_error?stderr:stdout, "%s: %s\n", argv0, buf); }