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_ping.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/check_ping.c') diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 260e1b65..0e090542 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c @@ -78,7 +78,7 @@ main (int argc, char **argv) addresses = malloc (sizeof(char*) * max_addr); addresses[0] = NULL; - if (process_arguments (argc, argv) == ERROR) + if (process_arguments (argc, argv) != OK) usage (_("check_ping: could not parse arguments\n")); /* Set signal handling and alarm */ @@ -121,7 +121,7 @@ main (int argc, char **argv) if (pl == UNKNOWN_PACKET_LOSS || rta < 0.0) { printf ("%s\n", cmd); die (STATE_UNKNOWN, - _("Error: Could not interpret output from ping command\n")); + _("CRITICAL - Could not interpret output from ping command\n")); } if (pl >= cpl || rta >= crta || rta < 0) -- cgit v1.2.3