From patchwork Mon Nov 11 18:29:50 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Armin Kuster X-Patchwork-Id: 179101 Delivered-To: patch@linaro.org Received: by 2002:a92:38d5:0:0:0:0:0 with SMTP id g82csp7022476ilf; Mon, 11 Nov 2019 10:31:15 -0800 (PST) X-Google-Smtp-Source: APXvYqyCBKEEUAOP7UFFwiYsPfIJOR9x8BYVg7Pmog0kUOXtT7bfj+WYCn7lh1f46RdAjzKmTBAo X-Received: by 2002:a17:902:ab93:: with SMTP id f19mr6046238plr.187.1573497075717; Mon, 11 Nov 2019 10:31:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1573497075; cv=none; d=google.com; s=arc-20160816; b=PPvWJjQz9ufn43G5KmVyrZRktFZYgrrCx0PGvYwespTTtGH7hpeaoUrN92CYGL10lW Rqhp2sqkA8+NuoNg/TKkHqDephjtRpswMYHl9kfylgDMmXccf4Jfhur6NQXpz63D4+BY 2M6GUwpota6zBf+12gT6JfjCoVAzS6CaQO5awMIn4yvWJGDG6+XhzsRlvVd2C5gU1/Zw ClTMI8P9WyISR1pNMwAujHJs3x2I5vvd0YbuCVJpqwhbvsbuj0EBQhXLeQATWXY8YQjL 1JUFzKwSFParByBGahHCuekyiHvUuc/WNKegtohESrxAtAA/LbpllIh7iZAV7b1jkCyH KnHg== 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=oCeFw5c7LVU+d0BrSxstT4OJzmqodBzhu1gvsUpb4WHXZIyCnBxwyWBuF2sJ+3j1kO DzVRu5rinHjjZGQOKRjj4zRXc7nUrWPqxFChqzvSRoIWj/Ox19Ew/5pfC/D3Xk3OGQto sHG6ebcixHeQCJX5yVvAJZam48Mc1wev88ITWyx+4Y+4HfQbQKJ1l7TKBqj80E1ADSBJ 4P6u9yvzbeCjtC7dh3b5cw2VRbyo/yh+McI1GGsQ0suLIL19LON+AeP/2EYEQPCs5+Yo yoY/hYeUevSADnCBkYGZiJtiQTW3KijiFKwgYwcePVe5JUbszJiltnC4BPgoXYGyjoLb 5UAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=CP9VBG0z; 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 t23si18170935pgv.203.2019.11.11.10.31.15; Mon, 11 Nov 2019 10:31:15 -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=CP9VBG0z; 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 1E9DF7FBF9; Mon, 11 Nov 2019 18:30:30 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pf1-f175.google.com (mail-pf1-f175.google.com [209.85.210.175]) by mail.openembedded.org (Postfix) with ESMTP id 226FC7FA88 for ; Mon, 11 Nov 2019 18:30:15 +0000 (UTC) Received: by mail-pf1-f175.google.com with SMTP id 193so11181124pfc.13 for ; Mon, 11 Nov 2019 10:30:16 -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=CP9VBG0zkwKx0XovDnuP1HLpljiOeeyBn6RAwqqbSZdiEkNo5RQnB1xTtCoZ/ZUbnS 8VROh2Lrdba17JzRQrKvUc+h9ZOmEYOZ2KjPrzcXZ7tgkBDIRaec1l1ybY1iD6NvB1z6 +LpUQSfCyIExcsl4NgEupeh7BO6z9BMdt5JfI2relhIdrkOf9Mzr4hDj3ej9OuaGYAVA /OelNCT3kmFjbhX2+igTUFQgvl4McVzL+EhTa+bcl2ILwixFRuM0Yt13D6XoBc1mY51M l8q+ekDUtP8rHd4oYeyzdQi6k/Tn+std4+fHbEmtLwEzTKUxjehY5qDTxrXoDF6IlAG2 eF7A== 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=HyrZpCd4IKhDXWiOw1n0aWTE82p99ZUAjDNRoLXA4B2/qjQIbhczHsIyVJmsEVZNS/ 54QekrgUHu38W0rzNccPjvtx5KaI5JPfFNFc0qmrnzsbyqnibKAqlTuFgsyKV3DynoGf gMLdaL9f6bE8C96vWJ+RGxW2sCp7jWDucrVeC4f2uW6o7lNXCNkyOKUxDM+synURWT8B QXvCsKyL5AlzleChh8asAq+SxzODT7oLcyCq75txe2UceiBRs/vvjDeKbJjoJYJFSxbV nmiririuIMr0kZm1Sucl5GlHGHKfwjuHch+QUbR4Btzv+O7seZuvBHFVJKeQiIT/gFok Qv+w== X-Gm-Message-State: APjAAAXWR9QzHSjLAEiH9Et2ZTAzRSpponk7DJkBOnV38daUcaT17UNS NKbLvfDApleFOBlXcdtdhd4AXmcw X-Received: by 2002:a63:ec4b:: with SMTP id r11mr29951590pgj.147.1573497016181; Mon, 11 Nov 2019 10:30:16 -0800 (PST) Received: from akuster-ThinkPad-T460s.mvista.com ([2601:202:4180:a5c0:604a:b703:29ca:5c7d]) by smtp.gmail.com with ESMTPSA id l62sm17731698pgl.24.2019.11.11.10.30.15 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Nov 2019 10:30:15 -0800 (PST) From: Armin Kuster To: openembedded-core@lists.openembedded.org Date: Mon, 11 Nov 2019 10:29:50 -0800 Message-Id: <7ae318fb4eaa8595c30af68c9df0d6c09116dc4d.1573496794.git.akuster808@gmail.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: References: Subject: [OE-core] [zeus 08/21] 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;