mirror of
https://gitlab.freedesktop.org/cairo/cairo.git
synced 2026-01-06 19:00:22 +01:00
[trace] Missing newlines in error messages.
This commit is contained in:
parent
b7f199fde2
commit
a76e09ea65
1 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue