[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-changelog] Use %tx C99 printf modifier for ptrdiff_t so that this builds on 64-bit.
# HG changeset patch # User emellor@xxxxxxxxxxxxxxxxxxxxxx # Node ID 8ffba597c385d59551a166ae4e338daa829498cb # Parent 47ba7a4bed45ff5fa62490fb6954f6cd97ade691 Use %tx C99 printf modifier for ptrdiff_t so that this builds on 64-bit. Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx> diff -r 47ba7a4bed45 -r 8ffba597c385 xen/arch/x86/domain.c --- a/xen/arch/x86/domain.c Sun Oct 30 14:42:02 2005 +++ b/xen/arch/x86/domain.c Sun Oct 30 14:54:15 2005 @@ -189,7 +189,7 @@ { 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 @@ 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); } _______________________________________________ Xen-changelog mailing list Xen-changelog@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-changelog
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |