diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-23 05:59:06 +0300 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-12-23 05:59:06 +0300 |
commit | e13a537795751bee8e2b7fe2b88c75436acd9da0 (patch) | |
tree | ec2aae10c7b2d89cb8623df85fc70482fee9e134 /loginutils/su.c | |
parent | 1dc1b37b337030807d7b35b415373593e3f72dda (diff) |
su: fix typo: "argv -= optind" should be +=
Diffstat (limited to 'loginutils/su.c')
-rw-r--r-- | loginutils/su.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/su.c b/loginutils/su.c index 133f6ed63..e1c1591aa 100644 --- a/loginutils/su.c +++ b/loginutils/su.c @@ -24,7 +24,7 @@ int su_main(int argc, char **argv) flags = getopt32(argc, argv, "mplc:s:", &opt_command, &opt_shell); argc -= optind; - argv -= optind; + argv += optind; if (argc && LONE_DASH(argv[0])) { flags |= SU_OPT_l; |