[PATCH 19.11] eal/freebsd: fix incorrect variable name

Bruce Richardson bruce.richardson at intel.com
Fri Dec 17 16:36:40 CET 2021


When the below commit was backported, the variable name was not corrected from
"internal_conf" to "internal_config", leading to build errors.

Fixes: 1f3a6bf92333 ("eal/freebsd: ignore in-memory option")

Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
---
 lib/librte_eal/freebsd/eal/eal.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/librte_eal/freebsd/eal/eal.c b/lib/librte_eal/freebsd/eal/eal.c
index e148d431c1..554323a39b 100644
--- a/lib/librte_eal/freebsd/eal/eal.c
+++ b/lib/librte_eal/freebsd/eal/eal.c
@@ -743,9 +743,9 @@ rte_eal_init(int argc, char **argv)
 
 	/* FreeBSD always uses legacy memory model */
 	internal_config.legacy_mem = true;
-	if (internal_conf.in_memory) {
+	if (internal_config.in_memory) {
 		RTE_LOG(WARNING, EAL, "Warning: ignoring unsupported flag, '%s'\n", OPT_IN_MEMORY);
-		internal_conf.in_memory = false;
+		internal_config.in_memory = false;
 	}
 
 	if (eal_plugins_init() < 0) {
-- 
2.34.1



More information about the stable mailing list