mem: add missing newline in callback log
authorDavid Marchand <david.marchand@6wind.com>
Wed, 30 May 2018 14:45:29 +0000 (16:45 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 30 May 2018 19:16:43 +0000 (21:16 +0200)
Fixes: 56efb4c11753 ("malloc: support callbacks on memory events")

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
lib/librte_eal/common/eal_common_memalloc.c

index 3005ef9..1d41ea1 100644 (file)
@@ -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);
        }