From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <dev-bounces@dpdk.org>
Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124])
	by inbox.dpdk.org (Postfix) with ESMTP id 3D49B41C8E;
	Tue, 14 Feb 2023 03:20:01 +0100 (CET)
Received: from mails.dpdk.org (localhost [127.0.0.1])
	by mails.dpdk.org (Postfix) with ESMTP id 6041142D73;
	Tue, 14 Feb 2023 03:19:34 +0100 (CET)
Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com
 [209.85.214.175])
 by mails.dpdk.org (Postfix) with ESMTP id 9E73242D41
 for <dev@dpdk.org>; Tue, 14 Feb 2023 03:19:27 +0100 (CET)
Received: by mail-pl1-f175.google.com with SMTP id z1so15564960plg.6
 for <dev@dpdk.org>; Mon, 13 Feb 2023 18:19:27 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=networkplumber-org.20210112.gappssmtp.com; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=zJPaFh6URUfG4TrDmw5LEES1Qn5paWZCJx32V5GolN4=;
 b=sRu/Yd1ZycaKL1ME5CoFXz8+M+EaUm1AhjT2OJzCZxgxOdz40C8gjrlluZRIkdMvN+
 Q8VGyAHuON57q19YeiEbl1hoYyvhBDj+OlAyeC2/4u7ezMMFpiQ+86wAWihsVzNP6jLd
 0YQK5D4sGD5pMboYYyiV+EKmu4ne9sAWk0jB/YIZmCoNNeCjjl6zNS/6fGeLCEVc9RWd
 yedm+Ik7kTzvJFwd/g2rzad1qDEluRZnFFTCsZoxv/jbcXHOLopp38pt2G5D+MF6rBMD
 IXaB2XqDXIjeSgqw+1sPJLKsc3iMUcOse+5JNGOGOgxca2ppdGQlM+so1aVofeSvn4E8
 29eA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=zJPaFh6URUfG4TrDmw5LEES1Qn5paWZCJx32V5GolN4=;
 b=d+1rg9X/XxYlYMC6EXNjH3cCBzAcLLlZjdqOlDRxXnPGewyyEEdeP1bD7CkF10nVQs
 Jt7roz95U4EYW0nzGZRnsOU44JNH2IF6rGPfK5krmdibEtSrciwmA609uwWQ3nftRLjW
 PYT9GWJySrSHYwYwf4NJPSdSpMlAbDBxF148nRKRrnnZczQfONODvbSRdTIJXXVuw6b1
 k3LtXq1IyEbF98e8XjfyKZE6AmzF5zGgw0nsrGfMf5recxZMQsR9UvvBpToM8sgeibzs
 eL7g0afwPlxGfhPGgkWVbwmHHBC82UyFse5wQmpHcjIoDvrWHcpAI4UcsqtmvHkJ02ZL
 x/3A==
X-Gm-Message-State: AO0yUKXPLsmoImiP+JtxZO052hooDPdP6CdPOaCAhAmN3uyxyQT1d4Mv
 cB4BAWR8rNH3qJ4gmqIie0DJivCLPmqeLqXyzZY=
X-Google-Smtp-Source: AK7set/fgFKGaSoGVyVeRJoMqHF4Mps0vmY5qjVk0nfjAek/l7iP3GMlBO/UL4pl/dygxdjwKBDf4A==
X-Received: by 2002:a05:6a20:a005:b0:c2:b228:dd8 with SMTP id
 p5-20020a056a20a00500b000c2b2280dd8mr717377pzj.3.1676341166641; 
 Mon, 13 Feb 2023 18:19:26 -0800 (PST)
Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218])
 by smtp.gmail.com with ESMTPSA id
 e16-20020aa78250000000b005a75d85c0c7sm8494840pfn.51.2023.02.13.18.19.25
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 13 Feb 2023 18:19:26 -0800 (PST)
From: Stephen Hemminger <stephen@networkplumber.org>
To: dev@dpdk.org
Cc: Stephen Hemminger <stephen@networkplumber.org>,
 David Hunt <david.hunt@intel.com>
Subject: [PATCH v5 07/22] examples/power: replace use of RTE_LOGTYPE_POWER
Date: Mon, 13 Feb 2023 18:18:53 -0800
Message-Id: <20230214021908.1396498-8-stephen@networkplumber.org>
X-Mailer: git-send-email 2.39.1
In-Reply-To: <20230214021908.1396498-1-stephen@networkplumber.org>
References: <20230207204151.1503491-1-stephen@networkplumber.org>
 <20230214021908.1396498-1-stephen@networkplumber.org>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
Errors-To: dev-bounces@dpdk.org

Don't use static static logtype in sample application.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/distributor/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/distributor/main.c b/examples/distributor/main.c
index 21304d661873..542f76cf9664 100644
--- a/examples/distributor/main.c
+++ b/examples/distributor/main.c
@@ -679,7 +679,7 @@ init_power_library(void)
 		/* init power management library */
 		ret = rte_power_init(lcore_id);
 		if (ret) {
-			RTE_LOG(ERR, POWER,
+			fprintf(stderr,
 				"Library initialization failed on core %u\n",
 				lcore_id);
 			/*
-- 
2.39.1