projects
/
collectd.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge remote-tracking branch 'origin/pr/598'
[collectd.git]
/
src
/
memory.c
diff --git
a/src/memory.c
b/src/memory.c
index
7e7fd8e
..
fb2f3d3
100644
(file)
--- a/
src/memory.c
+++ b/
src/memory.c
@@
-160,9
+160,9
@@
static int memory_init (void)
#define MEMORY_SUBMIT(...) do { \
if (values_absolute) \
#define MEMORY_SUBMIT(...) do { \
if (values_absolute) \
- plugin_dispatch_multivalue (vl, 0, __VA_ARGS__, NULL); \
+ plugin_dispatch_multivalue (vl, 0,
DS_TYPE_GAUGE,
__VA_ARGS__, NULL); \
if (values_percentage) \
if (values_percentage) \
- plugin_dispatch_multivalue (vl, 1, __VA_ARGS__, NULL); \
+ plugin_dispatch_multivalue (vl, 1,
DS_TYPE_GAUGE,
__VA_ARGS__, NULL); \
} while (0)
static int memory_read_internal (value_list_t *vl)
} while (0)
static int memory_read_internal (value_list_t *vl)