diff options
author | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 00:23:41 +0000 |
---|---|---|
committer | Benoit Mortier <opensides@users.sourceforge.net> | 2004-12-04 00:23:41 +0000 |
commit | b467ed427c762e401819b101dc22e112fdd5ff72 (patch) | |
tree | 61bf6a4a34e5d235373d5bba21a632cbd2445de3 /plugins/check_swap.c | |
parent | 30a4266a3a624abbbaace89141f1369ecb5367aa (diff) | |
download | monitoring-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/check_swap.c')
-rw-r--r-- | plugins/check_swap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_swap.c b/plugins/check_swap.c index 4e17163c..ba353bc0 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; |