don't pass argc in getopt32, it's superfluous
(add/remove: 0/0 grow/shrink: 12/131 up/down: 91/-727) Total: -636 bytes text data bss dec hex filename 773469 1058 11092 785619 bfcd3 busybox_old 772644 1058 11092 784794 bf99a busybox_unstripped
This commit is contained in:
@@ -445,7 +445,7 @@ int arp_main(int argc, char **argv)
|
||||
if (!ap)
|
||||
bb_error_msg_and_die("%s: %s not supported", DFLT_AF, "address family");
|
||||
|
||||
getopt32(argc, argv, "A:p:H:t:i:adnDsv", &protocol, &protocol,
|
||||
getopt32(argv, "A:p:H:t:i:adnDsv", &protocol, &protocol,
|
||||
&hw_type, &hw_type, &device);
|
||||
argv += optind;
|
||||
if (option_mask32 & ARP_OPT_A || option_mask32 & ARP_OPT_p) {
|
||||
|
Reference in New Issue
Block a user