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 <david.marchand@redhat.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
This commit is contained in:
David Marchand 2020-06-10 16:30:24 +02:00 committed by Thomas Monjalon
parent 3b4c9d7bd6
commit d58314aa3c
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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) {