From 7a7052512953e6626edf8efc87664dba3ee01d74 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Fri, 21 Sep 2007 05:05:58 +0000 Subject: 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 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); } -- cgit v0.10-9-g596f