diff options
author | Daniel Mack <daniel@zonque.org> | 2015-04-24 21:51:43 +0200 |
---|---|---|
committer | Daniel Mack <daniel@zonque.org> | 2015-04-24 21:51:43 +0200 |
commit | 5d236c1f420b7a717b8f40415c0e0ae7d52f3aba (patch) | |
tree | cbc4371642981dad177b0b22025331eaa89072c0 /src/bootchart/svg.c | |
parent | d3a2a05329676098faa07529f369a19ed8710723 (diff) |
bootchart: kill newline characters from log_error_errno() calls
Diffstat (limited to 'src/bootchart/svg.c')
-rw-r--r-- | src/bootchart/svg.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bootchart/svg.c b/src/bootchart/svg.c index c63fd0406e..0132475e10 100644 --- a/src/bootchart/svg.c +++ b/src/bootchart/svg.c @@ -157,7 +157,7 @@ static int svg_title(FILE *of, const char *build, int pscount, double log_start, r = read_one_line_file("/proc/cmdline", &cmdline); if (r < 0) { - log_error_errno(r, "Unable to read cmdline: %m\n"); + log_error_errno(r, "Unable to read cmdline: %m"); return r; } @@ -192,7 +192,7 @@ static int svg_title(FILE *of, const char *build, int pscount, double log_start, /* CPU type */ r = read_full_file("/proc/cpuinfo", &buf, NULL); if (r < 0) - return log_error_errno(r, "Unable to read cpuinfo: %m\n"); + return log_error_errno(r, "Unable to read cpuinfo: %m"); cpu = strstr(buf, "model name"); if (!cpu) { |