Use %tx C99 printf modifier for ptrdiff_t so that this builds on 64-bit.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-10-30 15:54:15 +01:00
1 parent e8fa801c79
commit 5f3aa2a050
1 file changed
+3 -3
+3 -3
View File
@@ -189,7 +189,7 @@ void dump_pageframe_info(struct domain *d)
{
list_for_each_entry ( page, &d->page_list, list )
{
printk("Page %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
printk("Page %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
@@ -197,13 +197,13 @@ void dump_pageframe_info(struct domain *d)
list_for_each_entry ( page, &d->xenpage_list, list )
{
printk("XenPage %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
printk("XenPage %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
page = virt_to_page(d->shared_info);
printk("Shared_info@%p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
printk("Shared_info@%p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
_p(page_to_phys(page)), page-frame_table, page->count_info,
page->u.inuse.type_info);
}
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.