[systemd-commits] src/bootchart
Auke-Jan Kok
auke at kemper.freedesktop.org
Wed Apr 17 09:51:52 PDT 2013
src/bootchart/bootchart.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 9e6d4c613d14ee98ff1d7c88b2084697a40815fc
Author: Auke Kok <auke-jan.h.kok at intel.com>
Date: Wed Apr 17 09:49:03 2013 -0700
bootchart: Fix errno usage.
diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c
index 3350ea1..2226eba 100644
--- a/src/bootchart/bootchart.c
+++ b/src/bootchart/bootchart.c
@@ -268,7 +268,7 @@ static void do_journal_append(char *file)
f = open(file, O_RDONLY);
if (f < 0) {
- log_error("Failed to read bootchart data: %s\n", strerror(-errno));
+ log_error("Failed to read bootchart data: %m\n");
return;
}
n = loop_read(f, p + 10, BOOTCHART_MAX, false);
More information about the systemd-commits
mailing list