From fa002886e390f5cc603021e422be3c319a1040ea Mon Sep 17 00:00:00 2001 From: Benoit Mortier Date: Fri, 3 Dec 2004 11:45:10 +0000 Subject: internationalization fixes and help fixes git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@989 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_dummy.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/check_dummy.c') diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index 6864d02d..c621b9f1 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c @@ -41,7 +41,7 @@ main (int argc, char **argv) textdomain (PACKAGE); if (argc < 2) - usage (_("Incorrect number of arguments supplied\n")); + usage4 (_("Incorrect number of arguments supplied")); else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { print_revision (progname, revision); exit (STATE_OK); @@ -51,7 +51,7 @@ main (int argc, char **argv) exit (STATE_OK); } else if (!is_integer (argv[1])) - usage (_("Arguments to check_dummy must be an integer\n")); + usage4 (_("Arguments to check_dummy must be an integer")); else result = atoi (argv[1]); @@ -107,5 +107,5 @@ of the argument with optional text.\n")); void print_usage (void) { - printf (_("Usage: %s [optional text]\n"), progname); + printf ("Usage: %s [optional text]\n", progname); } -- cgit v1.2.3