diff options
Diffstat (limited to 'plugins/check_ping.c')
-rw-r--r-- | plugins/check_ping.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_ping.c b/plugins/check_ping.c index 7ff7f28..74aa3b7 100644 --- a/plugins/check_ping.c +++ b/plugins/check_ping.c | |||
@@ -187,7 +187,7 @@ process_arguments (int argc, char **argv) | |||
187 | 187 | ||
188 | switch (c) { | 188 | switch (c) { |
189 | case '?': /* usage */ | 189 | case '?': /* usage */ |
190 | usage2 ("Unknown argument", optarg); | 190 | usage3 ("Unknown argument", optopt); |
191 | case 'h': /* help */ | 191 | case 'h': /* help */ |
192 | print_help (); | 192 | print_help (); |
193 | exit (STATE_OK); | 193 | exit (STATE_OK); |