Permalink
Browse files

Remove newline from log message.

  • Loading branch information...
gsliepen committed Mar 26, 2012
1 parent 16e6769 commit cc6aee784659bfbd21eb8d414e00a8f1a801cac4
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/logger.c
View
@@ -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);

0 comments on commit cc6aee7

Please sign in to comment.