mem: fix config name in error logs
[dpdk.git] / lib / librte_eal / linux / eal_memory.c
index 3e47efe..df0f07e 100644 (file)
@@ -714,7 +714,7 @@ remap_segment(struct hugepage_file *hugepages, int seg_start, int seg_end)
        if (msl_idx == RTE_MAX_MEMSEG_LISTS) {
                RTE_LOG(ERR, EAL, "Could not find space for memseg. Please increase %s and/or %s in configuration.\n",
                                RTE_STR(CONFIG_RTE_MAX_MEMSEG_PER_TYPE),
-                               RTE_STR(CONFIG_RTE_MAX_MEM_PER_TYPE));
+                               RTE_STR(CONFIG_RTE_MAX_MEM_MB_PER_TYPE));
                return -1;
        }