log_start, interval, overrun);
if (r < 0) {
- log_error_errno(r, "Error generating svg file: %m\n");
+ log_error_errno(r, "Error generating svg file: %m");
return EXIT_FAILURE;
}
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;
}
/* 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) {