summaryrefslogtreecommitdiff
path: root/console-tools
diff options
context:
space:
mode:
Diffstat (limited to 'console-tools')
-rw-r--r--console-tools/setconsole.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/console-tools/setconsole.c b/console-tools/setconsole.c
index a9bbc78..32218ae 100644
--- a/console-tools/setconsole.c
+++ b/console-tools/setconsole.c
@@ -27,7 +27,7 @@ int setconsole_main(int argc, char **argv)
#if ENABLE_FEATURE_SETCONSOLE_LONG_OPTIONS
applet_long_options = setconsole_longopts;
#endif
- flags = getopt32(argc, argv, "r");
+ flags = getopt32(argv, "r");
if (argc - optind > 1)
bb_show_usage();