aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_load.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index b918fa54..803467df 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -20,7 +20,7 @@
const char *progname = "check_load";
const char *revision = "$Revision$";
-const char *copyright = "1999-2003";
+const char *copyright = "1999-2004";
const char *email = "nagiosplug-devel@lists.sourceforge.net";
#include "common.h"
@@ -54,7 +54,8 @@ char *status_line;
int
main (int argc, char **argv)
{
- int result;
+ int result = STATE_UNKNOWN;
+
#if HAVE_GETLOADAVG==1
double la[3] = { 0.0, 0.0, 0.0 }; /* NetBSD complains about unitialized arrays */
#else