summaryrefslogtreecommitdiffstats
path: root/plugins/check_cluster.c
diff options
context:
space:
mode:
authorMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-12 07:45:36 (GMT)
committerMatthias Eble <psychotrahe@users.sourceforge.net>2007-05-12 07:45:36 (GMT)
commit1ef19943e19fe30a5fbd7607e53c75c98db9974c (patch)
tree27a4c6db305562c8209f7e74d2c9a9b5bd263338 /plugins/check_cluster.c
parentc7d407faeb8304d779ac09e60551992cb1c12ecd (diff)
downloadmonitoring-plugins-1ef19943e19fe30a5fbd7607e53c75c98db9974c.tar.gz
Fixed glibc error caused in utils_base.c due to uninitialized thresholds struct (spotted on ubundu 6.06 LTS).
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1711 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_cluster.c')
-rw-r--r--plugins/check_cluster.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_cluster.c b/plugins/check_cluster.c
index 61350bf..5d52d42 100644
--- a/plugins/check_cluster.c
+++ b/plugins/check_cluster.c
@@ -69,7 +69,7 @@ int main(int argc, char **argv){
69 char *ptr; 69 char *ptr;
70 int data_val; 70 int data_val;
71 int return_code=STATE_OK; 71 int return_code=STATE_OK;
72 thresholds *thresholds; 72 thresholds *thresholds = NULL;
73 73
74 if(process_arguments(argc,argv)==ERROR) 74 if(process_arguments(argc,argv)==ERROR)
75 usage(_("Could not parse arguments")); 75 usage(_("Could not parse arguments"));