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 2466441C99; Tue, 14 Feb 2023 23:48:36 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9813143000; Tue, 14 Feb 2023 23:48:04 +0100 (CET) Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by mails.dpdk.org (Postfix) with ESMTP id 3B6F542FD8 for ; Tue, 14 Feb 2023 23:47:57 +0100 (CET) Received: by mail-pj1-f42.google.com with SMTP id o13so16520036pjg.2 for ; Tue, 14 Feb 2023 14:47:57 -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=GDrXUfv4jR/+mo1939RQtZyeLRwy/xBQzc0ST/FM8HhslwsX6sPpmb9EfF2tWJoS0A eNLxj0kAPEyideqSplj9eCA6mzmu6dtvyEpRth0FHxukbS7+lIMeqbv77siFlTHMaRqp vUfNuMzb8XPLRwj+/l8gEiowsjyEkcDxX0dW3jbi6fBDpePWRuj6C7yW896FFiLIcsPS WqnWC1nNPS8m1NR/o/eOGoEeueKLp8Wb5GP8I7PFlYAFiYuDqnUmc8aBTbt6vhRhZacl QpXdQQO4+Zi/I5UASAVNbTrzTE815Pr3JllOrsxcLCS97ApfbhJ5qEbFHxpHxk5agRQu xc0g== 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=XHjat4x+StCUoFFMKR1OOek/iV5Kd6KX1o8hxYMaRE38ws8R8V4OvrW7iDUL0FRl57 wTaAAK9yAs2S3Qh2zqsvEg6j+gUEFSwCFiho89PTSXIIebvHKgKEDmu7cp5kw2dHpHTC mgDhCSRRA1cz6VsrtTVQOYYPcwEaKTS2WsPdFcQ9eOGyIta85l0xIghzWvEkyNiAiJve wkaA1m2Nrb7QknEHjXfJ80QQMOgJgTQ4vp8ZFL5eo4ti11nH13gRmqlpglPrLnkVobF2 HLXQLRJjt3thiAyJB5eKzRqOmKM+Lf9xtJuJDny9FGbvvTbQSYxrqHhru5VsUTMm6kTD HCIQ== X-Gm-Message-State: AO0yUKUEfsPiIOZQRKT066Te74e9XkpCRoCNg2DwPxu+Tul8uGuC0Nct 9Y6YewMXX9Nc+0FTl9KVDpeAQzcZBTjFRg+dlrs= X-Google-Smtp-Source: AK7set/qZxTtQ3iU7e3l88db4i9qAu9jAm44L0+9PlLyMi7+ivKMn/TmOwxl79vn07O7xzp6lrU+FA== X-Received: by 2002:a17:903:41c6:b0:19a:b9a8:3fbe with SMTP id u6-20020a17090341c600b0019ab9a83fbemr295925ple.48.1676414876096; Tue, 14 Feb 2023 14:47:56 -0800 (PST) Received: from hermes.local (204-195-120-218.wavecable.com. [204.195.120.218]) by smtp.gmail.com with ESMTPSA id u9-20020a17090341c900b0019607984a5esm10735785ple.95.2023.02.14.14.47.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Feb 2023 14:47:55 -0800 (PST) From: Stephen Hemminger To: dev@dpdk.org Cc: Stephen Hemminger , David Hunt Subject: [PATCH v6 07/22] examples/power: replace use of RTE_LOGTYPE_POWER Date: Tue, 14 Feb 2023 14:47:20 -0800 Message-Id: <20230214224735.1404326-8-stephen@networkplumber.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230214224735.1404326-1-stephen@networkplumber.org> References: <20230207204151.1503491-1-stephen@networkplumber.org> <20230214224735.1404326-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 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