cpu plugin: Fix a bug in the data-set description.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 28 Jan 2007 11:22:47 +0000 (12:22 +0100)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sun, 28 Jan 2007 11:22:47 +0000 (12:22 +0100)
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");