eal: fix log level of error in option register
INFO is not correct when logging an error.
Fixes: 2395332798
("eal: add option register infrastructure")
Cc: stable@dpdk.org
Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
This commit is contained in:
parent
f87471c3f1
commit
d3bdefef22
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user