memory plugin: Fix a formatstring error.
authorFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 2 May 2009 08:45:51 +0000 (10:45 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Sat, 2 May 2009 08:45:51 +0000 (10:45 +0200)
src/memory.c

index 81ae451..991726c 100644 (file)
@@ -209,7 +209,7 @@ static int memory_read (void)
                                        NULL, 0) == 0)
                {
                        sysctl_vals[i] = value;
-                       DEBUG ("memory plugin: %26s: %6i", sysctl_keys[i], sysctl_vals[i]);
+                       DEBUG ("memory plugin: %26s: %g", sysctl_keys[i], sysctl_vals[i]);
                }
                else
                {