X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=src%2Fbootchart%2Fbootchart.c;h=27fd505929f96ec1c0579f52968d7f76f95d3f91;hp=fec63721a8246404a25cbf3dd2348bcd40ae0b6f;hb=9f6445e34a57c270f013c9416c123e56261553dd;hpb=ae98841e63a2624700db84ba44217f768b090d99 diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index fec63721a..27fd50592 100644 --- a/src/bootchart/bootchart.c +++ b/src/bootchart/bootchart.c @@ -261,12 +261,12 @@ static void do_journal_append(char *file) { f = open(file, O_RDONLY); if (f < 0) { - log_error("Failed to read bootchart data: %m\n"); + log_error("Failed to read bootchart data: %m"); return; } n = loop_read(f, p + 10, BOOTCHART_MAX, false); if (n < 0) { - log_error("Failed to read bootchart data: %s\n", strerror(-n)); + log_error("Failed to read bootchart data: %s", strerror(-n)); close(f); return; }