Przeglądaj źródła

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
Benoit Mortier 21 lat temu
rodzic
commit
b467ed427c
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      plugins/check_swap.c

+ 1 - 1
plugins/check_swap.c

@@ -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;