memory plugin: The variable is named cache, not cached, at least on libstatgrab ...
authorMichael Stapelberg <michael+git@stapelberg.de>
Sat, 9 Aug 2008 12:42:24 +0000 (14:42 +0200)
committerFlorian Forster <octo@huhu.verplant.org>
Mon, 11 Aug 2008 15:08:30 +0000 (17:08 +0200)
Signed-off-by: Florian Forster <octo@huhu.verplant.org>
src/memory.c

index 583f71a..a4a9af3 100644 (file)
@@ -319,7 +319,7 @@ static int memory_read (void)
        if ((ios = sg_get_mem_stats ()) != NULL)
        {
                memory_submit ("used",   ios->used);
-               memory_submit ("cached", ios->cached);
+               memory_submit ("cached", ios->cache);
                memory_submit ("free",   ios->free);
        }
 #endif /* HAVE_LIBSTATGRAB */