eal: fix missing newline in a log
authorKeith Wiles <keith.wiles@intel.com>
Sun, 16 Dec 2018 23:01:03 +0000 (17:01 -0600)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 19 Dec 2018 23:01:28 +0000 (00:01 +0100)
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 <keith.wiles@intel.com>
lib/librte_eal/common/rte_option.c

index 02d59a8..7605190 100644 (file)
@@ -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;
        }