From patchwork Wed Nov 13 15:32:00 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 179325 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp9762422ilf; Wed, 13 Nov 2019 07:35:29 -0800 (PST) X-Google-Smtp-Source: APXvYqwvLhClhkAR/TDG6dq6OT7fQQIhgg6scpCaOBTDCCir6vvtyUTeBl1tXW5T/kO2hc/cWOhe X-Received: by 2002:a63:e90f:: with SMTP id i15mr4447850pgh.9.1573659329630; Wed, 13 Nov 2019 07:35:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573659329; cv=none; d=google.com; s=arc-20160816; b=CIxUJSiaWpsuWf6cxpk4mlM8xNcpOfshUVmKavHVna4Ij2bLK9cu3cBWdB4ytZXVIz xC1Y0vKIRWRoXAxovuxtSaeOrCqTu1HdmStdL6oLnIca9P/kVoRXs5gMJbT8YYR0OlRX bkS1AYl/IGNBrDoTlzPeQ1q5WVHcDGYCnpmqx4amsZnWvKXXD6XKlRiOEmUCAwMQPyor 0iJ4ew/01CPTRFAebuspTL9yDo186HVLRWjPvMz35XAF9lsRayMRqn1KsQQ2OvkVd7pm fAMAdABg7UhGVizDYA2g+KxHQbzX9QLynnSUY6t5jWNS5sEdRIGILqPCZ3HXVD4Zm+zG THyw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to; bh=e04O6wFPlUItok/yYD84rmYiaZoin9fyY08CwTmn+e4=; b=LQ2p+iWFx8pzLM/VBgJEPEe6KHq/XuutLJNjhJFn77tJK3jY1o7BxWZQenF/m1CoNv z5zLhdRfb2W2FVwaKcBx9RSWVgz4WaXIgz/GqR1iRyxDYcCFWEbANRG0g8FsSdU6Ekse rROJXOt7Wm4nAI4HX8A2dDRdEd01ppnPFoAafhXNgOdzddTkYKgRl01kAm42odYc/D+4 Yyic91ibjyl/G0bC8wI82VUXuBLPu3VWeaHnQMAO3OK0xB7cIeJCFPtESVyQfoi8JcoK d8rG6YJkxQosADBTqkaJf2i+FxJppvyRDSh1W7x3kCXXq/yLRT/vsZBf9uJqofsC3SPk vYbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gm2zKsIy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id p6si3297027pfb.115.2019.11.13.07.35.29; Wed, 13 Nov 2019 07:35:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=gm2zKsIy; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 411197F897; Wed, 13 Nov 2019 15:32:55 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f176.google.com (mail-pf1-f176.google.com [209.85.210.176]) by mail.openembedded.org (Postfix) with ESMTP id 6BC317F81C for ; Wed, 13 Nov 2019 15:32:42 +0000 (UTC) Received: by mail-pf1-f176.google.com with SMTP id c184so1910718pfb.0 for ; Wed, 13 Nov 2019 07:32:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=p2qippAzDsbEGIrVESDCMqqabAka+K1mq2+mJYLx3l4=; b=gm2zKsIyK6yRyyiRF027RsbPiM8hjiZfIvME4dGT2M77q8NYAellDm8LoCUwr8WlK5 Lz0FwLiRE+X29T1vrt5H+qwVGeEVHcVrobA6adjkzWKYRUuB5SO/CaqBCBGprQn8AN5q coRVKPDLDdhQVGPn0k+jz325Xrw7h7imZF9VPt/62/6USRvx84BzSgVU4inw/mNyNP74 fC5+BOQrEznejczOOj3DZM71hOyFUMxSBys8Xs4j/7G48g3nuObdwnN31JC2Gg6qDnBj VB7Ru/MfKC8a7+5AEDXVSiDs7C/k7MRsiulDcoSTQONyS6YrrwukyFwHXZt1p2uc1zIA Rarg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=p2qippAzDsbEGIrVESDCMqqabAka+K1mq2+mJYLx3l4=; b=otK3Gz9z6/f78OSsADVfajiKHGv/LelfxrcWsscnGVNLQPoVCBX6JtmOb64G36JHhm juOt6MTbNi9jGMmQney5qsLEn2oKIC/bhh6XZdwG9VeczvZ1fsMDgiWj2NHCDMubIiKL hwq/HKvXF/4ecDCIplqGqeM5/0VKgj7UN29vgRVJE8oivyMh+ITyzspevr+7BLZS3ywE bUUdM7Q42tJyM5/9jRgy8nikDTnPTVUmiCK2y8W5JIL55vLzPn+W5ZxxQuHbQoJnPMdL W5naN/ibAW12NWVgCLVKft4RnAk2IEoRNZRm2mDd4KjumFUbXQ6pWdwBH0SWfgGkMPu2 7SLg== X-Gm-Message-State: APjAAAU0MzeeU4Brp8fGI6cBNcu9O5jpbp5Y5fR5Nn/Ja+6qrPK1Wwfx t8Yz/XoVXNFGNUZfbsybgFJZoIrd X-Received: by 2002:a17:90a:2470:: with SMTP id h103mr5979555pje.12.1573659163315; Wed, 13 Nov 2019 07:32:43 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:2cf9:53ea:e6ab:d378]) by smtp.gmail.com with ESMTPSA id s18sm3713613pfm.27.2019.11.13.07.32.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 13 Nov 2019 07:32:42 -0800 (PST) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Wed, 13 Nov 2019 07:32:00 -0800 Message-Id: <7ae318fb4eaa8595c30af68c9df0d6c09116dc4d.1573658916.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [zeus 18/31] qemu-helper-native: add missing option to getopt() call X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org From: Ross Burton Noticed by -Wall. Signed-off-by: Ross Burton Signed-off-by: Armin Kuster --- meta/recipes-devtools/qemu/qemu-helper/tunctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.7.4 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/qemu/qemu-helper/tunctl.c b/meta/recipes-devtools/qemu/qemu-helper/tunctl.c index 16e24a2..fc00e99 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;