]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Add missing newline to fatal messages printed to log
authorJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Jun 2010 19:05:28 +0000 (21:05 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Tue, 1 Jun 2010 19:05:28 +0000 (21:05 +0200)
util.c

diff --git a/util.c b/util.c
index d1c48640f52568f9339c37dd6b85287adb22bf7a..1464f59fa8ba1839ab12ace7084a4fa5da42feff 100644 (file)
--- 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);
                }
        }