From b467ed427c762e401819b101dc22e112fdd5ff72 Mon Sep 17 00:00:00 2001
From: Benoit Mortier <opensides@users.sourceforge.net>
Date: Sat, 4 Dec 2004 00:23:41 +0000
Subject: 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

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)
 			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;
-- 
cgit v0.10-9-g596f

