summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2019-10-14 14:48:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-11-13 22:02:16 +0000
commit6c50928df6d68119457d7be2a0ecaa518c217641 (patch)
treef4c87cad94851d0fd5fed19c110e426632e1a040 /meta/recipes-devtools
parentfaf0ebf33765a5d75e41baa961d538386aa8594f (diff)
downloadpoky-6c50928df6d68119457d7be2a0ecaa518c217641.tar.gz
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>
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r--meta/recipes-devtools/qemu/qemu-helper/tunctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c b/meta/recipes-devtools/qemu/qemu-helper/tunctl.c
index 16e24a2add..fc00e99789 100644
--- a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c
+++ b/meta/recipes-devtools/qemu/qemu-helper/tunctl.c
@@ -41,7 +41,7 @@ int main(int argc, char **argv)
41 int tap_fd, opt, delete = 0, brief = 0; 41 int tap_fd, opt, delete = 0, brief = 0;
42 char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end; 42 char *tun = "", *file = "/dev/net/tun", *name = argv[0], *end;
43 43
44 while((opt = getopt(argc, argv, "bd:f:t:u:g:")) > 0){ 44 while((opt = getopt(argc, argv, "bd:f:t:u:g:h")) > 0){
45 switch(opt) { 45 switch(opt) {
46 case 'b': 46 case 'b':
47 brief = 1; 47 brief = 1;