projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e5bee85
)
cpu plugin: Remove newline from syslog message.
author
Florian Forster
<octo@crystal.wlan.home.verplant.org>
Wed, 31 Jan 2007 12:48:08 +0000
(13:48 +0100)
committer
Florian Forster
<octo@crystal.wlan.home.verplant.org>
Wed, 31 Jan 2007 12:48:08 +0000
(13:48 +0100)
src/cpu.c
patch
|
blob
|
history
diff --git
a/src/cpu.c
b/src/cpu.c
index
d9453aa
..
0651559
100644
(file)
--- 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);
}