mem: fix error message with Xen
authorMarcin Kerlin <marcinx.kerlin@intel.com>
Wed, 15 Jun 2016 11:17:17 +0000 (13:17 +0200)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 20 Jun 2016 09:18:22 +0000 (11:18 +0200)
Minor typo fix to error message

Fixes: 148f963fb532 ("xen: core library changes")

Signed-off-by: Marcin Kerlin <marcinx.kerlin@intel.com>
lib/librte_eal/linuxapp/eal/eal_memory.c

index 79d1d2d..2d6eef6 100644 (file)
@@ -1417,7 +1417,7 @@ rte_eal_hugepage_attach(void)
        if (internal_config.xen_dom0_support) {
 #ifdef RTE_LIBRTE_XEN_DOM0
                if (rte_xen_dom0_memory_attach() < 0) {
-                       RTE_LOG(ERR, EAL,"Failed to attach memory setments of primay "
+                       RTE_LOG(ERR, EAL, "Failed to attach memory segments of primary "
                                        "process\n");
                        return -1;
                }