From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 3E38141D43; Wed, 22 Feb 2023 22:56:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A01B431B2; Wed, 22 Feb 2023 22:56:05 +0100 (CET) Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by mails.dpdk.org (Postfix) with ESMTP id 89F6643197 for ; Wed, 22 Feb 2023 22:55:56 +0100 (CET) Received: by mail-pg1-f179.google.com with SMTP id p6so5031914pga.0 for ; Wed, 22 Feb 2023 13:55:56 -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=JuyIRXQ//G7QDBy78bRYzeJIPtvQpp9c5mCIL4sA8Zc=; b=GseWi1DiqHIaxru5bar9HVeB0zqkqsRWJBiwnQWO+VeON2WWEPcuU3XMo0rV58H7KL LAZSSenVWnecRONA+Mx4xBuTTrII9h27UwFxMFPZAvWWOx3viLeLFG9WOt9Ho6zYhC7U fyVru8ioCAhkqtVJX18//Y2MEkp3O0HXKwvNMv2By7iXsRnJZ7S4/qm4/J9AKAxuz/F1 vNB2UbMNaGEzKPgzTxUMVlC2Ty42356Nwum4RCxlW4dSxOWQE8yKnwwjP9c+kSdnt/vj 3pqhxXouplNT9vWqdtWmFfQvieChQ2CwS4ozL4RuvMYoQG87WJXHNF0mPBgUenKnrbiJ Yq/Q== 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=JuyIRXQ//G7QDBy78bRYzeJIPtvQpp9c5mCIL4sA8Zc=; b=TS0h0sYvDil4pZSgSIziQwszrhdV5UaT3agGBV4YapKXBIYFjalV0BPg0FWqY+l+Q3 0oqyudYDvIR6Jhqguai2m8e2GB4V8gPOD4g5umRPnSRhCALmwsnJhdHIm+2Wkv5LqcVU 6tBjUdw4wbFnlq8Sw+mNGZ/XO1P4UWwb9IQuLYjSOZGPrbIldgrLDHX2WcTK2AdZfs9S HIDpVGE4TVGdjpfLHJiBph1zEVgv4NKrKggcr/WrG3br7q0eYQQBeywey4pFiQN7SSaT 7Rd+BDyl8byVhsXwfPixSsic9VzZz5bgK1AjlbMKqLs4/2EFCNZnLfIQDZQJPJO9DC38 0pyw== X-Gm-Message-State: AO0yUKWDMCl8/vRVMLPsCClUsSlDHX2ibfpSM3ycsDabxEB+KDemfTzp AOljwmjyxTQMYWSxbEoPI2FtsIR3iT/Wnzkp4bM= X-Google-Smtp-Source: AK7set/6IIMJkLUZUY7Pi6zBv1Vh9vGLRqtH7psjbNkNs3HNoPhYQtSKZlqJa5Wjl+cW5X5aARGotg== X-Received: by 2002:a62:790f:0:b0:593:befd:848c with SMTP id u15-20020a62790f000000b00593befd848cmr8846008pfc.16.1677102955423; Wed, 22 Feb 2023 13:55:55 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id d7-20020aa78147000000b00571cdbd0771sm6400722pfn.102.2023.02.22.13.55.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 13:55:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt Subject: [PATCH v11 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Date: Wed, 22 Feb 2023 13:55:26 -0800 Message-Id: <20230222215541.158205-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230222215541.158205-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230222215541.158205-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Don't use static logtype in sample application. Signed-off-by: Stephen Hemminger Acked-by: David Hunt --- 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