Commit 15cfa1b0 authored by Pavel Emelyanov's avatar Pavel Emelyanov

util: Fix vma printing message (pass 1)

Use %#x for hexademical fields, fix names to more human-readable.
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 1bc6fec5
......@@ -61,7 +61,7 @@ void pr_vma(unsigned int loglevel, const struct vma_area *vma_area)
if (!vma_area)
return;
print_on_level(loglevel, "s: 0x%16lx e: 0x%16lx l: %8liK p: 0x%8x f: 0x%8x pg: 0x%8lx "
print_on_level(loglevel, "%#lx-%#lx (%liK) prot %#x flags %#x off %#lx "
"vf: %s st: %s spc: %-8s shmid: %#lx\n",
vma_area->vma.start, vma_area->vma.end,
KBYTES(vma_area_len(vma_area)),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment