aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_http.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_http.c')
-rw-r--r--plugins/check_http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_http.c b/plugins/check_http.c
index 038ac68a..2f693328 100644
--- a/plugins/check_http.c
+++ b/plugins/check_http.c
@@ -348,7 +348,7 @@ process_arguments (int argc, char **argv)
switch (c) {
case '?': /* usage */
- usage2 ("unknown argument", optarg);
+ usage3 ("unknown argument", optopt);
break;
case 'h': /* help */
print_help ();