From d58314aa3ccb57776fbc6d27d024cce4097dd619 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Wed, 10 Jun 2020 16:30:24 +0200 Subject: [PATCH] eal: remove redundant newline in alert message 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 Reviewed-by: Ferruh Yigit --- 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.20.1