INFO is not correct when logging an error.

Signed-off-by: Gaetan Rivet <gaetan.ri...@6wind.com>
---
 lib/librte_eal/common/rte_option.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/librte_eal/common/rte_option.c 
b/lib/librte_eal/common/rte_option.c
index ae8a0e2ca..b2c93b220 100644
--- a/lib/librte_eal/common/rte_option.c
+++ b/lib/librte_eal/common/rte_option.c
@@ -56,7 +56,7 @@ rte_option_register(struct rte_option *opt)
 
        TAILQ_FOREACH(option, &rte_option_list, next) {
                if (strcmp(opt->name, option->name) == 0) {
-                       RTE_LOG(INFO, EAL, "Option %s has already been 
registered.\n",
+                       RTE_LOG(ERR, EAL, "Option %s has already been 
registered.\n",
                                        opt->name);
                        return;
                }
-- 
2.19.1

Reply via email to