提交 8f3c5883 编写于 作者: I Igor Mammedov 提交者: Konrad Rzeszutek Wilk

xen: Fix printk() format in xen/setup.c

Use correct format specifier for unsigned long.
Signed-off-by: NIgor Mammedov <imammedo@redhat.com>
Signed-off-by: NKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
上级 1e9ea265
......@@ -113,7 +113,7 @@ static unsigned long __init xen_release_chunk(phys_addr_t start_addr,
len++;
}
}
printk(KERN_CONT "%ld pages freed\n", len);
printk(KERN_CONT "%lu pages freed\n", len);
return len;
}
......@@ -139,7 +139,7 @@ static unsigned long __init xen_return_unused_memory(unsigned long max_pfn,
if (last_end < max_addr)
released += xen_release_chunk(last_end, max_addr);
printk(KERN_INFO "released %ld pages of unused memory\n", released);
printk(KERN_INFO "released %lu pages of unused memory\n", released);
return released;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册