projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1dc1b37
)
su: fix typo: "argv -= optind" should be +=
author
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 23 Dec 2006 02:59:06 +0000
(
02:59
-0000)
committer
Denis Vlasenko
<vda.linux@googlemail.com>
Sat, 23 Dec 2006 02:59:06 +0000
(
02:59
-0000)
loginutils/su.c
patch
|
blob
|
history
diff --git
a/loginutils/su.c
b/loginutils/su.c
index 133f6ed632f584c01c4b600c35573a40db40933f..e1c1591aa6dab292b9005f476a7eb612877ddd4d 100644
(file)
--- 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;