From fc0c95b33d7ddbd02071c5835b25d777812335c6 Mon Sep 17 00:00:00 2001 From: Christophe Kalt Date: Sat, 23 Feb 2008 10:47:20 +0100 Subject: [PATCH] swap plugin: Reapply a patch for Solaris. This is a previously applied change that somehow got lost. See http://git.verplant.org/?p=collectd.git;a=commitdiff;h=ee1113650b0b565776fc3d62162d84741e234f05 and http://git.verplant.org/?p=collectd.git;a=commitdiff;h=f68b68c5825efbd23c51531ff4e43c78a3bb2b3b --- src/swap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swap.c b/src/swap.c index 4a414b70..1cf70779 100644 --- a/src/swap.c +++ b/src/swap.c @@ -232,7 +232,7 @@ static int swap_read (void) swap_submit ("used", swap_alloc); swap_submit ("free", swap_avail); - swap_submit ("reserved", swap_resv - swap_alloc); + swap_submit ("reserved", swap_resv); /* #endif HAVE_LIBKSTAT */ #elif defined(VM_SWAPUSAGE) -- 2.30.2