]> git.meshlink.io Git - meshlink/commitdiff
Remove newline from log message.
authorGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Mar 2012 13:45:20 +0000 (14:45 +0100)
committerGuus Sliepen <guus@tinc-vpn.org>
Mon, 26 Mar 2012 13:45:20 +0000 (14:45 +0100)
src/logger.c

index f886ba4c0d7d38dd434a4cf61bef68bd11f6d512..6765cc5abeba7994b1283734714577eeb44f3bf1 100644 (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);