From: Guus Sliepen Date: Mon, 26 Mar 2012 13:45:20 +0000 (+0100) Subject: Remove newline from log message. X-Git-Tag: release-1.0.19~13 X-Git-Url: https://tinc-vpn.org/git/browse?a=commitdiff_plain;h=cc6aee784659bfbd21eb8d414e00a8f1a801cac4;p=tinc Remove newline from log message. --- 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);