projects
/
collectd.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29978fa
)
Corrected/removed fixme-note.
author
octo
<octo>
Fri, 28 Apr 2006 17:18:03 +0000
(17:18 +0000)
committer
octo
<octo>
Fri, 28 Apr 2006 17:18:03 +0000
(17:18 +0000)
src/swap.c
patch
|
blob
|
history
diff --git
a/src/swap.c
b/src/swap.c
index
e8f05d6
..
7dd8d68
100644
(file)
--- a/
src/swap.c
+++ b/
src/swap.c
@@
-227,8
+227,7
@@
static void swap_read (void)
if (sysctl (mib, 2, &sw_usage, &sw_usage_len, NULL, 0) != 0)
return;
- /* FIXME: If this doesn't return the right values, try multiplying it
- * with sw_usage.xsu_pagesize. -octo */
+ /* The returned values are bytes. */
swap_submit (sw_usage.xsu_used, sw_usage.xsu_avail, -1LL, -1LL);
/* #endif HAVE_SYS_SYSCTL_H */