From: Florian Forster Date: Sat, 2 May 2009 08:45:51 +0000 (+0200) Subject: memory plugin: Fix a formatstring error. X-Git-Tag: collectd-4.5.4~13 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3cca3e91adaca218338bbf0ec8b678fe14e93206;p=collectd.git memory plugin: Fix a formatstring error. --- diff --git a/src/memory.c b/src/memory.c index 81ae451b..991726c4 100644 --- a/src/memory.c +++ b/src/memory.c @@ -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 {