projects
/
platform
/
upstream
/
busybox.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
don't pass argc in getopt32, it's superfluous
[platform/upstream/busybox.git]
/
networking
/
ifupdown.c
diff --git
a/networking/ifupdown.c
b/networking/ifupdown.c
index
e1c1e65
..
128cc37
100644
(file)
--- a/
networking/ifupdown.c
+++ b/
networking/ifupdown.c
@@
-1148,7
+1148,7
@@
int ifupdown_main(int argc, char **argv)
cmds = iface_up;
}
- getopt32(arg
c, arg
v, OPTION_STR, &interfaces);
+ getopt32(argv, OPTION_STR, &interfaces);
if (argc - optind > 0) {
if (DO_ALL) bb_show_usage();
} else {