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:
Ross Burton
2019-10-14 14:48:45 +01:00
committed by Richard Purdie
parent faf0ebf337
commit 6c50928df6

View File

@@ -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;