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 5492541D40; Wed, 22 Feb 2023 17:10:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 812E44305B; Wed, 22 Feb 2023 17:09:39 +0100 (CET) Received: from mail-pj1-f49.google.com (mail-pj1-f49.google.com [209.85.216.49]) by mails.dpdk.org (Postfix) with ESMTP id F24F24302F for ; Wed, 22 Feb 2023 17:09:30 +0100 (CET) Received: by mail-pj1-f49.google.com with SMTP id nw10-20020a17090b254a00b00233d7314c1cso9469525pjb.5 for ; Wed, 22 Feb 2023 08:09:30 -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=/qg6n21gkqP1/KVHJbW9jEJA/i9qgeMJfcXqgMCDxHo=; b=lnQCYg5L9hZ+8tIKsO3kdudsyVLZiL9S73eDeG5SrtjBrD2XMp2cn2A/wFWCE5Pik4 VhvtfNvUwJgE+tKChSY5e25Lo0x01oVAgki4mvajzYjh/AtFXBFxQoKENG2nssirAha6 ujfTi2Ye7kaqc1PGPQC1D13NICudQ6j/TjYoy1rHh8U8vagRu1y9Kme6sW4d6zteCCCC p60EioMFkkb8i0xkQcPzexPW9FqG27xXqarSlj4Do0ehEMGjEUjIP4YayI2u7484733f 3MgKN/JzsaKSEG9l1WgEbzRoHrthR7lOAlIMDGVHWThuPuQFbnnKqlCgYX/bo4Uk2FqF rB3g== 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=/qg6n21gkqP1/KVHJbW9jEJA/i9qgeMJfcXqgMCDxHo=; b=PqN/eQ+rbGbFcIyH0FuZymn5JoRaLQQAfxmJ+lbD0WR05Atdeu9ZMnW+/KGEo7LcBh rQ+N9Tx9pJvDSA9HpHe/xFzL/BqJ41N9XMSo6EcA46MhNDozbIV7DRiLjUSBVbH1lcsG Wnd4Y35jhGZ1EXWRT24LiRfcSjuk0jzeXgK1lq31KKYuotBpSRj0h95MWMiib3ezUvfa TG5or/uFVCpvxjjAUSvU4msFFQ96czeWSQ+pLVw70CaE4A7J1ZsRR7k9rJlIrRNfKnJq Lw+MNTr/j/JEBE21LAL9NPi23bp9PELVS8T0mlBfaCoglr7b81KdITPY0Gfw/opv/t2/ tAsA== X-Gm-Message-State: AO0yUKURaZ7Qmf+P4Xda7XLv/YZfeLF0yGcDE3UdFb6xCC2w7TTAyIrE n5ejKXSkM4nd//tbRFJ9OwJ4bmkaTHQlUo4mpE4= X-Google-Smtp-Source: AK7set8okKW+zDzc1V9uhOMP3ITzKSYecnnB6mfssdxZuMX6qPEjk3HXfSDolEaD2zzpawV3LL1FKg== X-Received: by 2002:a05:6a20:8e05:b0:bf:269e:9644 with SMTP id y5-20020a056a208e0500b000bf269e9644mr10427010pzj.45.1677082169884; Wed, 22 Feb 2023 08:09:29 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id x24-20020a63db58000000b004fb71d96d78sm5063778pgi.2.2023.02.22.08.09.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 Feb 2023 08:09:29 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt Subject: [PATCH v10 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Date: Wed, 22 Feb 2023 08:07:47 -0800 Message-Id: <20230222160802.123611-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230222160802.123611-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230222160802.123611-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 --- 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