From: Denys Vlasenko Date: Sun, 31 Dec 2017 16:59:16 +0000 (+0100) Subject: chown: fix a mistake in opt_complementary change X-Git-Tag: 1_28_0~2 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=b013bec31bbfdfb264f3fd30990d956ebf73379c;p=oweals%2Fbusybox.git chown: fix a mistake in opt_complementary change Signed-off-by: Denys Vlasenko --- diff --git a/coreutils/chown.c b/coreutils/chown.c index 985d18d6f..6429fd030 100644 --- a/coreutils/chown.c +++ b/coreutils/chown.c @@ -128,9 +128,9 @@ int chown_main(int argc UNUSED_PARAM, char **argv) struct param_t param; #if ENABLE_FEATURE_CHOWN_LONG_OPTIONS - opt = getopt32long(argv, "^" OPT_STR "\0" "=2", chown_longopts); + opt = getopt32long(argv, "^" OPT_STR "\0" "-2", chown_longopts); #else - opt = getopt32(argv, "^" OPT_STR "\0" "=2"); + opt = getopt32(argv, "^" OPT_STR "\0" "-2"); #endif argv += optind;