projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
438b4bd
)
memory plugin: The variable is named cache, not cached, at least on libstatgrab ...
author
Michael Stapelberg
<michael+git@stapelberg.de>
Sat, 9 Aug 2008 12:42:24 +0000
(14:42 +0200)
committer
Florian 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
patch
|
blob
|
history
diff --git
a/src/memory.c
b/src/memory.c
index
583f71a
..
a4a9af3
100644
(file)
--- 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->cache
d
);
+ memory_submit ("cached", ios->cache);
memory_submit ("free", ios->free);
}
#endif /* HAVE_LIBSTATGRAB */