summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorBenoit Mortier <opensides@users.sourceforge.net>2004-12-04 00:23:41 (GMT)
committerBenoit Mortier <opensides@users.sourceforge.net>2004-12-04 00:23:41 (GMT)
commitb467ed427c762e401819b101dc22e112fdd5ff72 (patch)
tree61bf6a4a34e5d235373d5bba21a632cbd2445de3 /plugins
parent30a4266a3a624abbbaace89141f1369ecb5367aa (diff)
downloadmonitoring-plugins-b467ed427c762e401819b101dc22e112fdd5ff72.tar.gz
Bug Fix [ 1024735 ] check_swap providing inaccurate swap information on Sol6
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@999 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_swap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c
index 4e17163..ba353bc 100644
--- a/plugins/check_swap.c
+++ b/plugins/check_swap.c
@@ -194,7 +194,7 @@ main (int argc, char **argv)
194 dskfree = dskfree / conv_factor; 194 dskfree = dskfree / conv_factor;
195# endif 195# endif
196 if (verbose >= 3) 196 if (verbose >= 3)
197 printf (_("total=%d, free=%d\n"), dsktotal, dskfree); 197 printf (_("total=%llu, free=%llu\n"), dsktotal, dskfree);
198 198
199 dskused = dsktotal - dskfree; 199 dskused = dsktotal - dskfree;
200 total_swap += dsktotal; 200 total_swap += dsktotal;