aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_disk.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-02-19 13:23:33 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-02-19 13:23:33 +0000
commit46bac6c810f96204cf28366528929948709b4c0a (patch)
treefbcdc9d60abb9bea63587fbbe5bf251bb0d3d227 /plugins/check_disk.c
parentb026bda604d782659228ca5d888da30ef5b6b0c0 (diff)
downloadmonitoring-plugins-46bac6c810f96204cf28366528929948709b4c0a.tar.gz
Uninitialised variables for -X (Bug 900091 - Michael Musikhin)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@807 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r--plugins/check_disk.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index e57fc88b..86b90f7c 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -404,6 +404,10 @@ process_arguments (int argc, char **argv)
se = (struct name_list *) malloc (sizeof (struct name_list));
se->name = optarg;
se->name_next = NULL;
+ se->w_df = 0;
+ se->c_df = 0;
+ se->w_dfp = -1.0;
+ se->c_dfp = -1.0;
*fstail = se;
fstail = &se->name_next;
break;