diff options
Diffstat (limited to 'src/bootchart/svg.c')
-rw-r--r-- | src/bootchart/svg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index 54129159ac..8c8fab941d 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -186,7 +186,7 @@ static void svg_title(const char *build) { f = fdopen(fd, "r"); if (f) { if (!fgets(model, 255, f)) - fprintf(stderr, "Error reading disk model for %s\n", rootbdev); + log_error("Error reading disk model for %s: %m\n", rootbdev); fclose(f); } else { if (fd >= 0) @@ -196,7 +196,7 @@ static void svg_title(const char *build) { /* various utsname parameters */ if (uname(&uts)) - fprintf(stderr, "Error getting uname info\n"); + log_error("Error getting uname info\n"); /* date */ t = time(NULL); |