diff options
author | Auke Kok <auke-jan.h.kok@intel.com> | 2013-04-17 09:49:03 -0700 |
---|---|---|
committer | Auke Kok <auke-jan.h.kok@intel.com> | 2013-04-17 09:49:33 -0700 |
commit | 9e6d4c613d14ee98ff1d7c88b2084697a40815fc (patch) | |
tree | e21663b3c21bde9a18c6eda515e56a8bb4543ac0 /src/bootchart | |
parent | b454b11220e87add6d0f011695c7912b009c853d (diff) |
bootchart: Fix errno usage.
Diffstat (limited to 'src/bootchart')
-rw-r--r-- | src/bootchart/bootchart.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index 3350ea1d89..2226ebad6a 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); |