Commit f4e36cc5 authored by Pavel Emelyanov's avatar Pavel Emelyanov

shmem: Print shmem ID on dump in decimal

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 96d6fc3d
......@@ -325,7 +325,7 @@ static int dump_one_shmem(struct shmem_info_dump *si)
void *addr = NULL;
unsigned long pfn, nrpages;
pr_info("Dumping shared memory 0x%lx\n", si->shmid);
pr_info("Dumping shared memory %ld\n", si->shmid);
nrpages = (si->size + PAGE_SIZE - 1) / PAGE_SIZE;
map = xmalloc(nrpages * sizeof(*map));
......
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