From a76e09ea656faa63fbfa159e8f52c9c9ec7d35c6 Mon Sep 17 00:00:00 2001 From: Chris Wilson Date: Mon, 25 May 2009 21:22:43 +0100 Subject: [PATCH] [trace] Missing newlines in error messages. --- util/cairo-trace/trace.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/util/cairo-trace/trace.c b/util/cairo-trace/trace.c index 4a7096db9..4826e9901 100644 --- a/util/cairo-trace/trace.c +++ b/util/cairo-trace/trace.c @@ -703,7 +703,7 @@ _init_logfile (void) int fd = atoi (filename); logfile = fdopen (fd, "w"); if (logfile == NULL) { - fprintf (stderr, "Failed to open trace file descriptor '%s': %s", + fprintf (stderr, "Failed to open trace file descriptor '%s': %s\n", filename, strerror (errno)); return false; } @@ -730,7 +730,7 @@ _init_logfile (void) logfile = fopen (filename, "wb"); if (logfile == NULL) { - fprintf (stderr, "Failed to open trace file '%s': %s", + fprintf (stderr, "Failed to open trace file '%s': %s\n", filename, strerror (errno)); return false; }