mirror of
https://git.yoctoproject.org/poky
synced 2026-06-05 02:20:12 +00:00
qemu-helper-native: add missing option to getopt() call
Noticed by -Wall. (From OE-Core rev: d893d267c1d9bd1242beb611f395ea7834474e3f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
b23f006851
commit
a348b3aa77
@@ -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