Code

mbmon plugin: Correct the `type's being passed to the dispatch function.
[collectd.git] / src / cpu.c
index 4ae3e0236b1e1140a034346d13ef6dba4c53139a..437f7587366eb86df69c856bbb5d1a6baf016d2f 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -125,7 +125,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);
        }