eal: fix build for 32-bit system
[dpdk.git] / lib / librte_eal / common / eal_common_memory.c
index 412b432..77830f8 100644 (file)
@@ -96,7 +96,7 @@ rte_dump_physmem_layout(FILE *f)
 
                fprintf(f, "Segment %u: phys:0x%"PRIx64", len:%zu, "
                       "virt:%p, socket_id:%"PRId32", "
-                      "hugepage_sz:%zu, nchannel:%"PRIx32", "
+                      "hugepage_sz:%"PRIu64", nchannel:%"PRIx32", "
                       "nrank:%"PRIx32"\n", i,
                       mcfg->memseg[i].phys_addr,
                       mcfg->memseg[i].len,