From 230d67e18ad368773f2302485d0b55f50f654e3f Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Thu, 2 Dec 2004 01:11:01 +0000 Subject: 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 --- plugins/check_load.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'plugins/check_load.c') 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) { -- cgit v1.2.3-74-g34f1