X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fmemory.c;h=c31b30efe29b109cf3ae7c73055a48502c5b21fb;hb=148e8732e45435a051df1c3673cad0d5dc77492f;hp=c1564c86caf1840465ef5cecc14487d2e63a5eee;hpb=10075e6fe3c384b73c2dd398a1435f8d10e56654;p=collectd.git diff --git a/src/memory.c b/src/memory.c index c1564c86..c31b30ef 100644 --- a/src/memory.c +++ b/src/memory.c @@ -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 */