Code

Bug Fix [ 1024735 ] check_swap providing inaccurate swap information on Sol6
authorBenoit Mortier <opensides@users.sourceforge.net>
Sat, 4 Dec 2004 00:23:41 +0000 (00:23 +0000)
committerBenoit Mortier <opensides@users.sourceforge.net>
Sat, 4 Dec 2004 00:23:41 +0000 (00:23 +0000)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@999 f882894a-f735-0410-b71e-b25c423dba1c

plugins/check_swap.c

index 4e17163cd1e6c061cb48fc62a0da2635a1d68b8d..ba353bc0b89a44580860c6c94815806f61ecf2fa 100644 (file)
@@ -194,7 +194,7 @@ main (int argc, char **argv)
                        dskfree = dskfree / conv_factor;
 #  endif
                        if (verbose >= 3)
-                               printf (_("total=%d, free=%d\n"), dsktotal, dskfree);
+                               printf (_("total=%llu, free=%llu\n"), dsktotal, dskfree);
 
                        dskused = dsktotal - dskfree;
                        total_swap += dsktotal;