[collectd] swap.c patch

Christophe Kalt collectd at klb.taranis.org
Fri Feb 22 21:35:40 CET 2008


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
-------------- next part --------------
--- /tmp/BUILD/collectd-4.3.0/../_LAST/src/swap.c	2008-02-22 14:51:51.733025464 -0500
+++ /tmp/BUILD/collectd-4.3.0/src/swap.c	2008-02-22 14:54:18.662549003 -0500
@@ -232,7 +232,7 @@
 
 	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)


More information about the collectd mailing list