format fix

This commit is contained in:
Ron Pedde 2004-01-13 04:29:43 +00:00
parent b24a3200d0
commit 5dca8dcbf2
1 changed files with 2 additions and 2 deletions

View File

@ -67,10 +67,10 @@ void log_err(int quit, char *fmt, ...)
switch(err_logdestination) {
case LOGDEST_STDERR:
fprintf(stderr, errbuf);
fprintf(stderr, "%s", errbuf);
break;
case LOGDEST_SYSLOG:
syslog(LOG_INFO, errbuf);
syslog(LOG_INFO, "%s", errbuf);
break;
}