diff options
author | Lennart Poettering <lennart@poettering.net> | 2013-12-24 16:39:37 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2013-12-24 16:39:37 +0100 |
commit | 9f6445e34a57c270f013c9416c123e56261553dd (patch) | |
tree | 51bd61c2671a564b1fda28b998dcb3b0ddb4c8ed /src/bootchart/bootchart.c | |
parent | ae98841e63a2624700db84ba44217f768b090d99 (diff) |
log: log_error() and friends add a newline after each line anyway, so avoid including it in the log strings
Diffstat (limited to 'src/bootchart/bootchart.c')
-rw-r--r-- | src/bootchart/bootchart.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootchart/bootchart.c b/src/bootchart/bootchart.c index fec63721a8..27fd505929 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; } |