Remove newline from log message.

This commit is contained in:
Guus Sliepen 2012-03-26 14:45:20 +01:00
parent 16e6769fee
commit cc6aee7846

View file

@ -75,7 +75,7 @@ void reopenlogger() {
fflush(logfile);
FILE *newfile = fopen(logfilename, "a");
if(!newfile) {
logger(LOG_ERR, "Unable to reopen log file %s: %s\n", logfilename, strerror(errno));
logger(LOG_ERR, "Unable to reopen log file %s: %s", logfilename, strerror(errno));
return;
}
fclose(logfile);