[Nagiosplug-checkins] nagiosplug/plugins check_disk.c,1.64,1.65

Ton Voon tonvoon at users.sourceforge.net
Tue May 2 01:31:02 CEST 2006


Update of /cvsroot/nagiosplug/nagiosplug/plugins
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16058

Modified Files:
	check_disk.c 
Log Message:
Inode thresholds not always being initialised (James Fidell - 1476457)


Index: check_disk.c
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/plugins/check_disk.c,v
retrieving revision 1.64
retrieving revision 1.65
diff -u -d -r1.64 -r1.65
--- check_disk.c	27 Mar 2006 08:19:01 -0000	1.64
+++ check_disk.c	2 May 2006 08:30:21 -0000	1.65
@@ -462,6 +462,8 @@
       se->c_df = c_df;
       se->w_dfp = w_dfp;
       se->c_dfp = c_dfp;
+      se->w_idfp = w_idfp;
+      se->c_idfp = c_idfp;
       se->found = 0;
       se->found_len = 0;
       *pathtail = se;
@@ -480,6 +482,8 @@
                         se->c_df = 0;
                         se->w_dfp = 0;
                         se->c_dfp = 0;
+			se->w_idfp = 0;
+			se->c_idfp = 0;
       se->found = 0;
       se->found_len = 0;
       *dptail = se;
@@ -497,6 +501,8 @@
                         se->c_df = 0;
                         se->w_dfp = 0;
                         se->c_dfp = 0;
+			se->w_idfp = 0;
+			se->c_idfp = 0;
       se->found = 0;
       se->found_len = 0;
       *fstail = se;
@@ -519,6 +525,8 @@
       c_df = 0;
       w_dfp = -1.0;
       c_dfp = -1.0;
+      w_idfp = -1.0;
+      c_idfp = -1.0;
       break;
     case 'V':                 /* version */
       print_revision (progname, revision);
@@ -547,6 +555,8 @@
     se->c_df = c_df;
     se->w_dfp = w_dfp;
     se->c_dfp = c_dfp;
+    se->w_idfp = w_idfp;
+    se->c_idfp = c_idfp;
     se->found =0;
     se->found_len = 0;
     *pathtail = se;





More information about the Commits mailing list