From: Florian Forster Date: Wed, 31 Jan 2007 12:48:08 +0000 (+0100) Subject: cpu plugin: Remove newline from syslog message. X-Git-Tag: collectd-4.0.0~212 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=b18ade442090e2041ce75279c5859b5bd74b1791;p=collectd.git cpu plugin: Remove newline from syslog message. --- diff --git a/src/cpu.c b/src/cpu.c index d9453aa3..06515593 100644 --- a/src/cpu.c +++ b/src/cpu.c @@ -129,7 +129,7 @@ static int init (void) /* FIXME: Free `cpu_list' if it's not NULL */ if ((status = host_processors (port_host, &cpu_list, &cpu_list_len)) != KERN_SUCCESS) { - syslog (LOG_ERR, "cpu plugin: host_processors returned %i\n", (int) status); + syslog (LOG_ERR, "cpu plugin: host_processors returned %i", (int) status); cpu_list_len = 0; return (-1); }