cpu plugin: Fix a bug in the data-set description.
[collectd.git] / src / cpu.c
index d9453aa..42b6add 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
@@ -191,7 +191,7 @@ static void submit (int cpu_num, unsigned long long user,
        values[4].counter = wait;
 
        vl.values = values;
-       vl.values_len = 2;
+       vl.values_len = 5;
        vl.time = time (NULL);
        strcpy (vl.host, hostname);
        strcpy (vl.plugin, "cpu");