From: Joel Rosdahl Date: Tue, 1 Jun 2010 19:05:28 +0000 (+0200) Subject: Add missing newline to fatal messages printed to log X-Git-Tag: v3.0~72 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=062cd87fb78748f742e5694d6573475d895e73c7;p=thirdparty%2Fccache.git Add missing newline to fatal messages printed to log --- diff --git a/util.c b/util.c index d1c48640f..1464f59fa 100644 --- a/util.c +++ b/util.c @@ -128,8 +128,7 @@ void fatal(const char *format, ...) logfile = fopen(cache_logfile, "a"); } if (logfile) { - fprintf(logfile, "[%-5d] FATAL: %s", (int)getpid(), - msg); + fprintf(logfile, "[%-5d] FATAL: %s\n", (int)getpid(), msg); fflush(logfile); } }