From 7a7052512953e6626edf8efc87664dba3ee01d74 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 21 Sep 2007 05:05:58 +0000 Subject: [PATCH] My solaris box needs %llu to display 64bits integers. git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1783 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 9e1ba0d..90b2248 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c @@ -319,7 +319,7 @@ main (int argc, char **argv) dfree_inodes_percent = 100 - dused_inodes_percent; if (verbose >= 3) { - printf ("For %s, used_pct=%g free_pct=%g used_units=%g free_units=%g total_units=%g used_inodes_pct=%g free_inodes_pct=%g fsp.fsu_blocksize=%lu mult=%lu\n", + printf ("For %s, used_pct=%g free_pct=%g used_units=%g free_units=%g total_units=%g used_inodes_pct=%g free_inodes_pct=%g fsp.fsu_blocksize=%llu mult=%llu\n", me->me_mountdir, dused_pct, dfree_pct, dused_units, dfree_units, dtotal_units, dused_inodes_percent, dfree_inodes_percent, fsp.fsu_blocksize, mult); } -- 2.30.2