diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2003-12-02 15:27:38 (GMT) |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2003-12-02 15:27:38 (GMT) |
commit | d049302c50da32414f52386cba3af565a1aa2660 (patch) | |
tree | d7a6cf5b31f01bfe3829c830bcc339b1a236c086 /plugins/check_disk.c | |
parent | d346bb1d64e68ad619af0ed8f5b4de9bf2abfac3 (diff) | |
download | monitoring-plugins-d049302c50da32414f52386cba3af565a1aa2660.tar.gz |
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
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 4 |
1 files changed, 4 insertions, 0 deletions
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) | |||
393 | se = (struct name_list *) malloc (sizeof (struct name_list)); | 393 | se = (struct name_list *) malloc (sizeof (struct name_list)); |
394 | se->name = optarg; | 394 | se->name = optarg; |
395 | se->name_next = NULL; | 395 | se->name_next = NULL; |
396 | se->w_df = 0; | ||
397 | se->c_df = 0; | ||
398 | se->w_dfp = -1.0; | ||
399 | se->c_dfp = -1.0; | ||
396 | *dptail = se; | 400 | *dptail = se; |
397 | dptail = &se->name_next; | 401 | dptail = &se->name_next; |
398 | break; | 402 | break; |