From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 4BA7CA051F for ; Wed, 10 Jun 2020 16:30:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 433471BE9B; Wed, 10 Jun 2020 16:30:44 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 001C31BE9B for ; Wed, 10 Jun 2020 16:30:42 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591799442; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=dZtGxl/hgzeM36C8pah3Dsk+3c0o1N9PGsFH5ZOksYs=; b=KYvchwBy/wQv2w93zUF3JaiimP9hhvI2bP6F1PPpcenDkA2aBZU01/qPUtWOK+BRi10E58 UThIWCpikVqLayYwtjB4j0fOQPYQRazb/HVn+fYv2YVoRz8rK03MDZsBdNYqsMsv0dN04N 0oE16mLEVP5Qu79ZXl1LsvHd8hY/kR4= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-185-1ukzdAGVPnqRdjCtGHf_vw-1; Wed, 10 Jun 2020 10:30:38 -0400 X-MC-Unique: 1ukzdAGVPnqRdjCtGHf_vw-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 9EC80100CC98; Wed, 10 Jun 2020 14:30:37 +0000 (UTC) Received: from dmarchan.remote.csb (unknown [10.40.192.116]) by smtp.corp.redhat.com (Postfix) with ESMTP id 58D20101E672; Wed, 10 Jun 2020 14:30:36 +0000 (UTC) From: David Marchand To: dev@dpdk.org Cc: stable@dpdk.org, Bruce Richardson , Anatoly Burakov Date: Wed, 10 Jun 2020 16:30:24 +0200 Message-Id: <20200610143024.28001-1-david.marchand@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH] eal: remove redundant newline X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" rte_eal_init_alert() already appends a newline. Fixes: 0a529578f162 ("eal: clean up unused files on initialization") Cc: stable@dpdk.org Signed-off-by: David Marchand --- lib/librte_eal/freebsd/eal.c | 2 +- lib/librte_eal/linux/eal.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/librte_eal/freebsd/eal.c b/lib/librte_eal/freebsd/eal.c index c41f265fac..00fc66bf7f 100644 --- a/lib/librte_eal/freebsd/eal.c +++ b/lib/librte_eal/freebsd/eal.c @@ -952,7 +952,7 @@ rte_eal_init(int argc, char **argv) * place, so no cleanup needed. */ if (!internal_config.no_shconf && eal_clean_runtime_dir() < 0) { - rte_eal_init_alert("Cannot clear runtime directory\n"); + rte_eal_init_alert("Cannot clear runtime directory"); return -1; } if (!internal_config.no_telemetry) { diff --git a/lib/librte_eal/linux/eal.c b/lib/librte_eal/linux/eal.c index f162124a37..28a8b78517 100644 --- a/lib/librte_eal/linux/eal.c +++ b/lib/librte_eal/linux/eal.c @@ -1290,7 +1290,7 @@ rte_eal_init(int argc, char **argv) * place, so no cleanup needed. */ if (!internal_config.no_shconf && eal_clean_runtime_dir() < 0) { - rte_eal_init_alert("Cannot clear runtime directory\n"); + rte_eal_init_alert("Cannot clear runtime directory"); return -1; } if (!internal_config.no_telemetry) { -- 2.23.0