From: Keith Wiles Date: Sun, 16 Dec 2018 23:01:03 +0000 (-0600) Subject: eal: fix missing newline in a log X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=e3b090f3daded540ab37bce69d0ce4ec730dab3d;p=dpdk.git eal: fix missing newline in a log Add a missing newline to a RTE_LOG message. Fixes: 2395332798d0 ("eal: add option register infrastructure") Cc: stable@dpdk.org Signed-off-by: Keith Wiles --- diff --git a/lib/librte_eal/common/rte_option.c b/lib/librte_eal/common/rte_option.c index 02d59a8695..7605190c3b 100644 --- a/lib/librte_eal/common/rte_option.c +++ b/lib/librte_eal/common/rte_option.c @@ -36,7 +36,7 @@ rte_option_register(struct rte_option *opt) { TAILQ_FOREACH(option, &rte_option_list, next) { if (strcmp(opt->opt_str, option->opt_str) == 0) - RTE_LOG(INFO, EAL, "Option %s has already been registered.", + RTE_LOG(INFO, EAL, "Option %s has already been registered.\n", opt->opt_str); return; }