[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1783] nagiosplug/trunk/plugins/check_disk.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Fri Sep 21 07:05:58 CEST 2007


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.




More information about the Commits mailing list