diff options
Diffstat (limited to 'plugins/check_dummy.c')
-rw-r--r-- | plugins/check_dummy.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_dummy.c b/plugins/check_dummy.c index 6864d02..c621b9f 100644 --- a/plugins/check_dummy.c +++ b/plugins/check_dummy.c | |||
@@ -41,7 +41,7 @@ main (int argc, char **argv) | |||
41 | textdomain (PACKAGE); | 41 | textdomain (PACKAGE); |
42 | 42 | ||
43 | if (argc < 2) | 43 | if (argc < 2) |
44 | usage (_("Incorrect number of arguments supplied\n")); | 44 | usage4 (_("Incorrect number of arguments supplied")); |
45 | else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { | 45 | else if (strcmp (argv[1], "-V") == 0 || strcmp (argv[1], "--version") == 0) { |
46 | print_revision (progname, revision); | 46 | print_revision (progname, revision); |
47 | exit (STATE_OK); | 47 | exit (STATE_OK); |
@@ -51,7 +51,7 @@ main (int argc, char **argv) | |||
51 | exit (STATE_OK); | 51 | exit (STATE_OK); |
52 | } | 52 | } |
53 | else if (!is_integer (argv[1])) | 53 | else if (!is_integer (argv[1])) |
54 | usage (_("Arguments to check_dummy must be an integer\n")); | 54 | usage4 (_("Arguments to check_dummy must be an integer")); |
55 | else | 55 | else |
56 | result = atoi (argv[1]); | 56 | result = atoi (argv[1]); |
57 | 57 | ||
@@ -107,5 +107,5 @@ of the <state> argument with optional text.\n")); | |||
107 | void | 107 | void |
108 | print_usage (void) | 108 | print_usage (void) |
109 | { | 109 | { |
110 | printf (_("Usage: %s <integer state> [optional text]\n"), progname); | 110 | printf ("Usage: %s <integer state> [optional text]\n", progname); |
111 | } | 111 | } |