From: David Marchand Date: Wed, 10 Jun 2020 14:30:24 +0000 (+0200) Subject: eal: remove redundant newline in alert message X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=d58314aa3ccb57776fbc6d27d024cce4097dd619;p=dpdk.git 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 --- 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) {