[trace] Missing newlines in error messages.

This commit is contained in:
Chris Wilson 2009-05-25 21:22:43 +01:00
parent b7f199fde2
commit a76e09ea65

View file

@ -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;
}