From: octo Date: Fri, 28 Apr 2006 17:18:03 +0000 (+0000) Subject: Corrected/removed fixme-note. X-Git-Tag: svn-trunk~37 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=2248995caa559f78c69c3e4eeb1b17f9e6549b9a;p=collectd.git Corrected/removed fixme-note. --- diff --git a/src/swap.c b/src/swap.c index e8f05d65..7dd8d680 100644 --- 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 */