From cc6aee784659bfbd21eb8d414e00a8f1a801cac4 Mon Sep 17 00:00:00 2001 From: Guus Sliepen Date: Mon, 26 Mar 2012 14:45:20 +0100 Subject: [PATCH] Remove newline from log message. --- src/logger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/logger.c b/src/logger.c index f886ba4c..6765cc5a 100644 --- a/src/logger.c +++ b/src/logger.c @@ -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); -- 2.39.5