Message ID | 20201113083217.12776-1-sbabic@denx.de |
---|---|
State | Accepted |
Headers | show
Return-Path: <swupdate+bncBCXPLOXJ6IKRBFUJXH6QKGQEW77NAPQ@googlegroups.com> X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=googlegroups.com (client-ip=2a00:1450:4864:20::23b; helo=mail-lj1-x23b.google.com; envelope-from=swupdate+bncbcxploxj6ikrbfujxh6qkgqew77napq@googlegroups.com; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=googlegroups.com header.i=@googlegroups.com header.a=rsa-sha256 header.s=20161025 header.b=cMZuFsMW; dkim-atps=neutral Received: from mail-lj1-x23b.google.com (mail-lj1-x23b.google.com [IPv6:2a00:1450:4864:20::23b]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4CXWtM2M0pz9sSn for <incoming@patchwork.ozlabs.org>; Fri, 13 Nov 2020 19:32:27 +1100 (AEDT) Received: by mail-lj1-x23b.google.com with SMTP id g19sf2667810ljl.23 for <incoming@patchwork.ozlabs.org>; Fri, 13 Nov 2020 00:32:27 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1605256343; cv=pass; d=google.com; s=arc-20160816; b=CUEkKijvk9u2EVxk3DMi81QpKei/rwrMqPlYeX+T94qiFTMDwjAkdUN6Dq6SQ/nSDW tedA6yw8fMPRWOr9xOD45GLM+G8K7vvjcTIBo0n5WWyYtRw1sf8d3DJDkRJVH+l0ezfN Xq+krJHgjCHXmI6gqoHu4W8BGGyMregs5pNSzVwMtwMu0u+1NKVyfciiL7r2bQUKt6DX N9hVLN6u929ZgU+9lMUous4SPJ+IYjyb6//O1aj9jfl/iAyfMlGFiVxmPv8dIoZZJSN0 9HYBZc1McIoUlWTfNVVVSMCQ0k03T20vHiZWfcqjZGcD8e0vgkyLC0BVjCarRiN5cqb9 CIzA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-unsubscribe:list-subscribe:list-archive:list-help:list-post :list-id:mailing-list:precedence:mime-version:message-id:date :subject:cc:to:from:sender:dkim-signature; bh=bQeeX3QlCrZPNy7KgqY2UbLAx0x9kyQN3BKO7s04oBc=; b=KdSaYfgQtb5Yxo3vDM5UgHs4sFI8D3n98q2/8Azd3n8cIkwIJ2FiDfAvvqievHfztn TA3tFSi/GKNQNEjbVYLE77wnEdxHHYOsxdgNgroDpwXpHgZnVtM4KfdUmfiaLhlT104J Gz8qbRTASNDlFyi84NvSFyMkQhlL5s9p2xKx+PHryoeCb5unwYyY3bkA/1m7W2jU+5a2 n9f9AwrX69NyK/iz4ldeosHBHT0Mx+P/DZAcs59LNe+2R8X3L8kq82QRe13dHYnt9WxM pHr8ORVcybOTb1ibNRp//Gq6o/B/P/Y5x0x5r6UZlvWzh+V5LqEy5bq1YxrxuWkVhXch bADQ== ARC-Authentication-Results: i=2; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlegroups.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:mime-version :x-original-sender:x-original-authentication-results:precedence :mailing-list:list-id:list-post:list-help:list-archive :list-subscribe:list-unsubscribe; bh=bQeeX3QlCrZPNy7KgqY2UbLAx0x9kyQN3BKO7s04oBc=; b=cMZuFsMWYtgOZZGtRR1LHEPRhd82NW1VLr5SwFFeIHHeInu1BonrK+gD8ugmgI6hjM z+OwiftHsK+vqEjJFdIefxUU8qxrf+Kcd0GySDedSPFGL3yq1ampuGHXyJpbFm6iE/2i sQNPOb0mwczjkaSzqt8xutFR0tONNLr4HPuAab8Et/Cvb0SH8FnRu4uAk1+sjQUh9ujl QIZ14Qr07Gaz5a8KClgepuVI9ob2bYBaiCsFqhqTVlfCg+ZEg9pIr1S6cCtUF0xQ9gZ1 MJYebsWrP7Fez3b35Ds62zYlVOet/NXDGCgqp74ajcyUP8mhnQzj2clAjgBW7F8/7v0z 5Hug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=sender:x-gm-message-state:from:to:cc:subject:date:message-id :mime-version:x-original-sender:x-original-authentication-results :precedence:mailing-list:list-id:x-spam-checked-in-group:list-post :list-help:list-archive:list-subscribe:list-unsubscribe; bh=bQeeX3QlCrZPNy7KgqY2UbLAx0x9kyQN3BKO7s04oBc=; b=DK/bNM9JlKGohKMkuYIg53bH2mYDpERlS1gs+0RTgIWdOqJLuhQMtSgT99oMhn4xwL yI0z4jnCg6j7m7l0dGUd8hdRA6MbYU69RbvVUXILVQwdl6PzA++pc/1wMpURcI5lOkEr 45CBI/kuQwLf4i0zLwg42GdH+R9SOoHGg6RHzEX5QA3mnJ1I5Q/7LG5Nbd72qUtdJLlB zxuEJbDg3qz8qillicOdBbB6WrX2kTkw8zjLPjInX5c7KK75EGO0lo7HokhFrGnMII8X Es0LtXhzJz47njF5Nfoh7pbP72z9gDqyYb7fV5V3KKR644iW4FrYb70uGeKfnuoYsF+H Pc6Q== Sender: swupdate@googlegroups.com X-Gm-Message-State: AOAM531vAXcAV3mVTm1i7Oxhu+xiCxv/wQubFms5naFcvj/jTIkbYaoi KIRxcrPWOsunRwXbdmHColI= X-Google-Smtp-Source: ABdhPJzwMeouHnSK5kHlQtRmxkT8uJJqiQiHRp6d6FnRmpVdFc2RJ3t2vpYzraLRDDHboZVpj3ps5A== X-Received: by 2002:a05:651c:118f:: with SMTP id w15mr637144ljo.225.1605256343254; Fri, 13 Nov 2020 00:32:23 -0800 (PST) X-BeenThere: swupdate@googlegroups.com Received: by 2002:a2e:9908:: with SMTP id v8ls1089988lji.1.gmail; Fri, 13 Nov 2020 00:32:22 -0800 (PST) X-Received: by 2002:a2e:8693:: with SMTP id l19mr610078lji.468.1605256342009; Fri, 13 Nov 2020 00:32:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605256342; cv=none; d=google.com; s=arc-20160816; b=MtzYRZZ25oI8f7MHEOq/0qpJcDpmGrbPHmheAPHtkILg2TJuJfw+bqk14u0PVjX79d iFk8dCIAQ5vpmR+Qs9npHAw+gb9K0EFp4mkCLdyPFy25kdFX2oI0dS2UW2tIeDBSyT86 PtPiML7q5/4BGKBoF+29qwCzuhndOTnRbPRIBDrD+BLQ4ykMDR+kekftjwdGORM6xrgC KfkcX1sem+YIRju8/OgC0qC5G7wIxThv2mKOcci7kpk6eUcZ06d4P2ngLVu5S0C13xw0 Lj35IBRYnl5Qyfg22rZEz6TDaAvNXAiVQdIYK9dxgwDLFFuDFyvWp9h0p7eG0/eLknF+ rMqA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=D5FOQIFM7xCcaRjAlC1mP3HxzgM2o9F+Kjy2vD7t/y8=; b=C7jueYfd50hWaNJI+fmKCUhyO8eNHA3xqmrxPYo13XMmevaagcdWGYVyE4cyvvL2Vx 7HZnVEr4/ou0rV9/WnSVHSoZXXaAyLxVDrR3YFw5bax+5AGhmI+eqI1WrE0+wvgaV8MM +KqzuhF24Z3VPhGToCeIxeQkOFF4zY5bJia2/XUCd076Er8wirNPVsNTNnlNnuO/YVRo CAsmfItu8yQZbdPin4bqpMH4JVN6FZOeVh92NrB2xf+TdE9z5yZcE7iZeSVWdJnjy4z/ JRZWVFzykwsXmIS270m9pVL9FweU2qDfKkb/eJo6dEhOD87x/wUAs+te30wv66Z2Jv8b ES1g== ARC-Authentication-Results: i=1; gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Received: from mail-out.m-online.net (mail-out.m-online.net. [2001:a60:0:28:0:1:25:1]) by gmr-mx.google.com with ESMTPS id y11si284498lfg.7.2020.11.13.00.32.21 for <swupdate@googlegroups.com> (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Nov 2020 00:32:22 -0800 (PST) Received-SPF: neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) client-ip=2001:a60:0:28:0:1:25:1; Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 4CXWtF3bRrz1rwbQ; Fri, 13 Nov 2020 09:32:21 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 4CXWtF3TJfz1tD9Y; Fri, 13 Nov 2020 09:32:21 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id gYwZBSg84qCb; Fri, 13 Nov 2020 09:32:20 +0100 (CET) Received: from babic.homelinux.org (host-88-217-136-221.customer.m-online.net [88.217.136.221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPS; Fri, 13 Nov 2020 09:32:20 +0100 (CET) Received: from localhost (mail.babic.homelinux.org [127.0.0.1]) by babic.homelinux.org (Postfix) with ESMTP id A300D45405D7; Fri, 13 Nov 2020 09:32:20 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at babic.homelinux.org Received: from babic.homelinux.org ([127.0.0.1]) by localhost (mail.babic.homelinux.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pp2AkZ7sh83V; Fri, 13 Nov 2020 09:32:18 +0100 (CET) Received: from paperino.fritz.box (paperino.fritz.box [192.168.178.64]) by babic.homelinux.org (Postfix) with ESMTP id 55F894540286; Fri, 13 Nov 2020 09:32:18 +0100 (CET) From: Stefano Babic <sbabic@denx.de> To: swupdate@googlegroups.com Cc: Stefano Babic <sbabic@denx.de> Subject: [swupdate] [PATCH] Cosmetic: use log instead of print to show selection Date: Fri, 13 Nov 2020 09:32:17 +0100 Message-Id: <20201113083217.12776-1-sbabic@denx.de> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Original-Sender: sbabic@denx.de X-Original-Authentication-Results: gmr-mx.google.com; spf=neutral (google.com: 2001:a60:0:28:0:1:25:1 is neither permitted nor denied by best guess record for domain of sbabic@denx.de) smtp.mailfrom=sbabic@denx.de Content-Type: text/plain; charset="UTF-8" Precedence: list Mailing-list: list swupdate@googlegroups.com; contact swupdate+owners@googlegroups.com List-ID: <swupdate.googlegroups.com> X-Spam-Checked-In-Group: swupdate@googlegroups.com X-Google-Group-Id: 605343134186 List-Post: <https://groups.google.com/group/swupdate/post>, <mailto:swupdate@googlegroups.com> List-Help: <https://groups.google.com/support/>, <mailto:swupdate+help@googlegroups.com> List-Archive: <https://groups.google.com/group/swupdate List-Subscribe: <https://groups.google.com/group/swupdate/subscribe>, <mailto:swupdate+subscribe@googlegroups.com> List-Unsubscribe: <mailto:googlegroups-manage+605343134186+unsubscribe@googlegroups.com>, <https://groups.google.com/group/swupdate/subscribe> |
Series |
Cosmetic: use log instead of print to show selection
|
expand
|
diff --git a/core/swupdate.c b/core/swupdate.c index e966aca..e1152dc 100644 --- a/core/swupdate.c +++ b/core/swupdate.c @@ -995,8 +995,8 @@ int main(int argc, char **argv) fprintf(stderr, "Error: Incorrect select option format.\n"); exit(EXIT_FAILURE); } - fprintf(stderr, "software set: %s mode: %s\n", - swcfg.globals.default_software_set, swcfg.globals.default_running_mode); + INFO("software set: %s mode: %s", swcfg.globals.default_software_set, + swcfg.globals.default_running_mode); } /* Read sw-versions */
Signed-off-by: Stefano Babic <sbabic@denx.de> --- core/swupdate.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)