Commit e48347e0 authored by Pavel Emelyanov's avatar Pavel Emelyanov

show: Show nr_pages in pagemap in decimal

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent ae99f539
...@@ -221,7 +221,7 @@ void show_pagemap(int fd, struct cr_options *o) ...@@ -221,7 +221,7 @@ void show_pagemap(int fd, struct cr_options *o)
return; return;
pr_msg("Pages id: %u\n", h->pages_id); pr_msg("Pages id: %u\n", h->pages_id);
pagemap_head__free_unpacked(h, NULL); pagemap_head__free_unpacked(h, NULL);
return pb_show_plain(fd, PB_PAGEMAP); return pb_show_plain_pretty(fd, PB_PAGEMAP, "2:%u");
} }
void show_siginfo(int fd, struct cr_options *o) void show_siginfo(int fd, struct cr_options *o)
......
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