From d049302c50da32414f52386cba3af565a1aa2660 Mon Sep 17 00:00:00 2001
From: Ton Voon <tonvoon@users.sourceforge.net>
Date: Tue, 2 Dec 2003 15:27:38 +0000
Subject: Default thresholds not defined for lists in -x parameter (raised by
 Matt Garrett)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@783 f882894a-f735-0410-b71e-b25c423dba1c

diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 44b3286..e57fc88 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -393,6 +393,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;
 			*dptail = se;
 			dptail = &se->name_next;
 			break;
-- 
cgit v0.10-9-g596f

