[dpdk-dev] [PATCH] mem: add missing newline in log message

David Marchand david.marchand at 6wind.com
Wed May 30 16:45:29 CEST 2018


Fixes: 56efb4c11753 ("malloc: support callbacks on memory events")

Signed-off-by: David Marchand <david.marchand at 6wind.com>
---
 lib/librte_eal/common/eal_common_memalloc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/common/eal_common_memalloc.c b/lib/librte_eal/common/eal_common_memalloc.c
index 3005ef980..1d41ea112 100644
--- a/lib/librte_eal/common/eal_common_memalloc.c
+++ b/lib/librte_eal/common/eal_common_memalloc.c
@@ -243,7 +243,7 @@ eal_memalloc_mem_event_notify(enum rte_mem_event event, const void *start,
 	rte_rwlock_read_lock(&mem_event_rwlock);
 
 	TAILQ_FOREACH(entry, &mem_event_callback_list, next) {
-		RTE_LOG(DEBUG, EAL, "Calling mem event callback '%s:%p'",
+		RTE_LOG(DEBUG, EAL, "Calling mem event callback '%s:%p'\n",
 			entry->name, entry->arg);
 		entry->clb(event, start, len, entry->arg);
 	}
-- 
2.11.0



More information about the dev mailing list