[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: [OE-core] [PATCH 1/7] qemu-helper-native: add missing option to getopt() call
From: Ross Burton <ross.burton () intel ! com>
Date: 2019-10-31 10:55:12
Message-ID: 20191031105518.7716-1-ross.burton () intel ! com
[Download RAW message or body]
Noticed by -Wall.
Signed-off-by: Ross Burton <ross.burton@intel.com>
---
meta/recipes-devtools/qemu/qemu-helper/tunctl.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c \
b/meta/recipes-devtools/qemu/qemu-helper/tunctl.c index 16e24a2add6..fc00e997891 \
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)
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;
--
2.20.1
--
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic