summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 467d76e)
raw | patch | inline | side by side (parent: 467d76e)
author | Zollner Robert <wolfit_ro@yahoo.com> | |
Thu, 11 Dec 2014 00:18:31 +0000 (02:18 +0200) | ||
committer | Zollner Robert <wolfit_ro@yahoo.com> | |
Thu, 11 Dec 2014 00:18:31 +0000 (02:18 +0200) |
memory_submit and memory_stats_submit should use same units "Bytes"
- Fixes: #856
- Fixes: #856
src/virt.c | patch | blob | history |
diff --git a/src/virt.c b/src/virt.c
index 6118c0fdabddc541214294e9390f7d7112516e49..5f87625ab5f758334330bfd388d38abc7fb3ccfc 100644 (file)
--- a/src/virt.c
+++ b/src/virt.c
}
for (j = 0; j < status; j++) {
- memory_stats_submit ((gauge_t) minfo[j].val, domains[i], minfo[j].tag);
+ memory_stats_submit ((gauge_t) minfo[j].val * 1024, domains[i], minfo[j].tag);
}
sfree (minfo);