aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_load.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 01:11:01 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 01:11:01 +0000
commit230d67e18ad368773f2302485d0b55f50f654e3f (patch)
tree555c1d1dd92d7897e037303bf03f86b2de0f78b9 /plugins/check_load.c
parent2d1ba3e36b950f05832ea2bd595616fa6cd28c28 (diff)
downloadmonitoring-plugins-230d67e18ad368773f2302485d0b55f50f654e3f.tar.gz
changed Error: by CRITICAL -
more localization fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@971 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_load.c')
-rw-r--r--plugins/check_load.c15
1 files changed, 2 insertions, 13 deletions
diff --git a/plugins/check_load.c b/plugins/check_load.c
index babe84bc..616c3e0d 100644
--- a/plugins/check_load.c
+++ b/plugins/check_load.c
@@ -51,9 +51,6 @@ char *status_line;
-
-
-
int
main (int argc, char **argv)
{
@@ -76,7 +73,7 @@ main (int argc, char **argv)
bindtextdomain (PACKAGE, LOCALEDIR);
textdomain (PACKAGE);
- if (process_arguments (argc, argv) == ERROR)
+ if (process_arguments (argc, argv) != OK)
usage (_("check_load: could not parse arguments\n"));
#if HAVE_GETLOADAVG==1
@@ -162,9 +159,6 @@ main (int argc, char **argv)
-
-
-
/* process command-line arguments */
int
process_arguments (int argc, char **argv)
@@ -223,7 +217,7 @@ process_arguments (int argc, char **argv)
usage (_("Critical threshold must be float or float triplet!\n"));
break;
case 'V': /* version */
- print_revision (progname, "$Revision$");
+ print_revision (progname, revision);
exit (STATE_OK);
case 'h': /* help */
print_help ();
@@ -271,8 +265,6 @@ process_arguments (int argc, char **argv)
-
-
int
validate_arguments (void)
{
@@ -299,9 +291,6 @@ validate_arguments (void)
-
-
-
void
print_help (void)
{