Revision: 1783
http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1783&view=rev
Author: dermoth
Date: 2007-09-20 22:05:58 -0700 (Thu, 20 Sep 2007)
Log Message:
-----------
My solaris box needs %llu to display 64bits integers.
Modified Paths:
--------------
nagiosplug/trunk/plugins/check_disk.c
Modified: nagiosplug/trunk/plugins/check_disk.c
===================================================================
--- nagiosplug/trunk/plugins/check_disk.c 2007-09-21 04:59:15 UTC (rev 1782)
+++ nagiosplug/trunk/plugins/check_disk.c 2007-09-21 05:05:58 UTC (rev 1783)
@@ -319,7 +319,7 @@
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);
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.