1
0
mirror of https://github.com/systemd/systemd.git synced 2024-11-02 19:21:53 +03:00

bootchart: Fix errno usage.

This commit is contained in:
Auke Kok 2013-04-17 09:49:03 -07:00
parent b454b11220
commit 9e6d4c613d

View File

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