2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-30 22:05:36 +00:00

util: Use vma_entry_len helper

Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
Cyrill Gorcunov
2011-11-15 14:02:00 +04:00
parent 35781a8c6d
commit bbabbe89a7

2
util.c
View File

@@ -178,7 +178,7 @@ void printk_vma(struct vma_area *vma_area)
printk("s: %16lx e: %16lx l: %4liK p: %4x f: %8x pg: %8lx "
"fd: %4d pid: %4d dev:%02x:%02x:%08lx vf: %s st: %s spc: %s\n",
vma_area->vma.start, vma_area->vma.end,
(vma_area->vma.end - vma_area->vma.start) >> 10,
vma_entry_len(&vma_area->vma) >> 10,
vma_area->vma.prot,
vma_area->vma.flags,
vma_area->vma.pgoff,