Code

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 583f71a2041b1eff7f34de985ae85d4d2537ce04..a4a9af3a2128fdce1343d90e7b6e85a24eb8b7dd 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 */