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 BE92B41CA8; Wed, 15 Feb 2023 18:24:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1162042D65; Wed, 15 Feb 2023 18:24:01 +0100 (CET) Received: from mail-pg1-f172.google.com (mail-pg1-f172.google.com [209.85.215.172]) by mails.dpdk.org (Postfix) with ESMTP id 6B6DA42D41 for ; Wed, 15 Feb 2023 18:23:56 +0100 (CET) Received: by mail-pg1-f172.google.com with SMTP id y186so1066102pgb.10 for ; Wed, 15 Feb 2023 09:23: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=/qg6n21gkqP1/KVHJbW9jEJA/i9qgeMJfcXqgMCDxHo=; b=W0hJlFeUtwCLnnp0lhmAeEm/glsKyihLMlj+6VBLZjAsuwbdikbqUxpYamBo+BfNGo SlZqSN/QbWKzLSYejAQWXeTKE5CxOyo94KAzBxpi0prFIsOm9qWZxv6TLs57F/A4nSWb cbBHSUqPA/YTGO07PZxNDTaKR7S8m0tCZrr3qUd3k8Rq6L+EFum/5z/q/5BWoW0MrAFF M4AxyW39SweS38e7gRGhvC1ru0f+kxPulgsjEZKzXaKgOsTEmavqbOSqJWuMeiewAaA2 lyVP8tcK9MEWarRm4EiiR7yjQVa2mYCbJN9mszin1Jbcmh4Vdc7gXypwBW/84/XNeOvE Lq9w== 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=VBPBNXXOLuRCEWjGmYluYhBUU6aQtn6XJZmubDdHAlY3h5d+i0nruCYu37qAbDAIFb D0oSfCmDCE1Xf4eA0r7Gbh2ICh18bnq5JOUt1NvxZ622WFzYQu2T1JrMEav/WiCwpbi3 05xezjKNn1mXsxCmvvgaEz7c6m8+FUyNfyvN8qYYBvsZE3LvCJflP7PNdPkt9vixB0CM Vwc2bqrH1rtPH2hRwZ0qV7QuHuBIfGfF2X4UKobyoZ6SaKvomnkUipWxt8occFl3xV7v ZEQ+gpQqfI0LBDPG/Mxv2MUPehbk3xcRW9lUr+Wyc8+tqwd4Y8CfhFC/HJeuRVK29Tb+ oXIQ== X-Gm-Message-State: AO0yUKU8PXypIwnVObLZ0RTJjftcIxkeFxXIjGN7CcpII+TRr8SVvVjR KPRvVdggwLsdhDuSj8qw0mXuPvY+/jWPP1Y8LOPIzg== X-Google-Smtp-Source: AK7set8Zhs7CGE8LppZR6jkZP6I1ftIco+tK/kr8Wk6iAI8zSHq8R24CS6Adft3xjLKo4fQXX9jq+A== X-Received: by 2002:aa7:949a:0:b0:5a8:c044:663e with SMTP id z26-20020aa7949a000000b005a8c044663emr2414340pfk.21.1676481835309; Wed, 15 Feb 2023 09:23:55 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id m7-20020aa79007000000b005a8da960fa8sm3705304pfo.144.2023.02.15.09.23.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 Feb 2023 09:23:54 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt Subject: [PATCH v7 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Date: Wed, 15 Feb 2023 09:23:26 -0800 Message-Id: <20230215172341.1525320-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230215172341.1525320-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230215172341.1525320-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