[Nagiosplug-checkins] nagiosplug/plugins check_swap.c,1.40,1.41

Benoit Mortier opensides at users.sourceforge.net
Fri Dec 3 16:24:11 CET 2004


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7758/plugins

Modified Files:
	check_swap.c 
Log Message:

Bug Fix [ 1024735 ] check_swap providing inaccurate swap information on Sol6



Index: check_swap.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_swap.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- check_swap.c	3 Dec 2004 23:55:29 -0000	1.40
+++ check_swap.c	4 Dec 2004 00:23:41 -0000	1.41
@@ -194,7 +194,7 @@
 			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;





More information about the Commits mailing list