diff options
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-09-21 05:05:58 +0000 |
---|---|---|
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | 2007-09-21 05:05:58 +0000 |
commit | 7a7052512953e6626edf8efc87664dba3ee01d74 (patch) | |
tree | 57a669024ccb5cdd50f4d596bc2fcfe8769d2914 /plugins | |
parent | 5ca8c847151c2ac6322469d070668305c05024b8 (diff) | |
download | monitoring-plugins-7a7052512953e6626edf8efc87664dba3ee01d74.tar.gz |
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
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/check_disk.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index 9e1ba0db..90b22484 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -319,7 +319,7 @@ main (int argc, char **argv) | |||
319 | dfree_inodes_percent = 100 - dused_inodes_percent; | 319 | dfree_inodes_percent = 100 - dused_inodes_percent; |
320 | 320 | ||
321 | if (verbose >= 3) { | 321 | if (verbose >= 3) { |
322 | 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", | 322 | 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", |
323 | me->me_mountdir, dused_pct, dfree_pct, dused_units, dfree_units, dtotal_units, dused_inodes_percent, dfree_inodes_percent, fsp.fsu_blocksize, mult); | 323 | me->me_mountdir, dused_pct, dfree_pct, dused_units, dfree_units, dtotal_units, dused_inodes_percent, dfree_inodes_percent, fsp.fsu_blocksize, mult); |
324 | } | 324 | } |
325 | 325 | ||