aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-02 08:30:21 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2006-05-02 08:30:21 +0000
commit8d3562e126f4a0b8658abd91da27babf91acf2c6 (patch)
treef444b38900532a4c1ff956737ce0d5d0243ca94f /plugins
parent488b06520f0ddca9384bda4974db5a2c99f28536 (diff)
downloadmonitoring-plugins-8d3562e126f4a0b8658abd91da27babf91acf2c6.tar.gz
Inode thresholds not always being initialised (James Fidell - 1476457)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1388 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_disk.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 1be5e6c3..ef236c08 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -462,6 +462,8 @@ process_arguments (int argc, char **argv)
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 @@ process_arguments (int argc, char **argv)
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 @@ process_arguments (int argc, char **argv)
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 @@ process_arguments (int argc, char **argv)
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 @@ process_arguments (int argc, char **argv)
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;