aboutsummaryrefslogtreecommitdiff
path: root/coreutils/chown.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-12-31 17:59:16 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-12-31 17:59:16 +0100
commitb013bec31bbfdfb264f3fd30990d956ebf73379c (patch)
treed939f5ee8f85bd7c34aa302bc6194f54a8564923 /coreutils/chown.c
parent82d1c1f84ae23793d81b50aa0a753ad7c4db4f51 (diff)
downloadbusybox-w32-b013bec31bbfdfb264f3fd30990d956ebf73379c.tar.gz
busybox-w32-b013bec31bbfdfb264f3fd30990d956ebf73379c.tar.bz2
busybox-w32-b013bec31bbfdfb264f3fd30990d956ebf73379c.zip
chown: fix a mistake in opt_complementary change
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/chown.c')
-rw-r--r--coreutils/chown.c4
1 files changed, 2 insertions, 2 deletions
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)
128 struct param_t param; 128 struct param_t param;
129 129
130#if ENABLE_FEATURE_CHOWN_LONG_OPTIONS 130#if ENABLE_FEATURE_CHOWN_LONG_OPTIONS
131 opt = getopt32long(argv, "^" OPT_STR "\0" "=2", chown_longopts); 131 opt = getopt32long(argv, "^" OPT_STR "\0" "-2", chown_longopts);
132#else 132#else
133 opt = getopt32(argv, "^" OPT_STR "\0" "=2"); 133 opt = getopt32(argv, "^" OPT_STR "\0" "-2");
134#endif 134#endif
135 argv += optind; 135 argv += optind;
136 136