mirror of
https://git.yoctoproject.org/poky
synced 2026-04-29 00:32:14 +02:00
qemu-helper-native: add missing option to getopt() call
Noticed by -Wall. (From OE-Core rev: 7ae318fb4eaa8595c30af68c9df0d6c09116dc4d) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
faf0ebf337
commit
6c50928df6
@@ -41,7 +41,7 @@ int main(int argc, char **argv)
|
||||
int tap_fd, opt, delete = 0, brief = 0;
|
||||
char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end;
|
||||
|
||||
while((opt = getopt(argc, argv, "bd:f:t:u:g:")) > 0){
|
||||
while((opt = getopt(argc, argv, "bd:f:t:u:g:h")) > 0){
|
||||
switch(opt) {
|
||||
case 'b':
|
||||
brief = 1;
|
||||
|
||||
Reference in New Issue
Block a user