ia64/xen-unstable

changeset 7568:8ffba597c385

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

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Sun Oct 30 15:54:15 2005 +0100 (2005-10-30)
parents 47ba7a4bed45
children ecae9e6c7331
files xen/arch/x86/domain.c
line diff
     1.1 --- a/xen/arch/x86/domain.c	Sun Oct 30 15:42:02 2005 +0100
     1.2 +++ b/xen/arch/x86/domain.c	Sun Oct 30 15:54:15 2005 +0100
     1.3 @@ -189,7 +189,7 @@ void dump_pageframe_info(struct domain *
     1.4      {
     1.5          list_for_each_entry ( page, &d->page_list, list )
     1.6          {
     1.7 -            printk("Page %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
     1.8 +            printk("Page %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
     1.9                     _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.10                     page->u.inuse.type_info);
    1.11          }
    1.12 @@ -197,13 +197,13 @@ void dump_pageframe_info(struct domain *
    1.13  
    1.14      list_for_each_entry ( page, &d->xenpage_list, list )
    1.15      {
    1.16 -        printk("XenPage %p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
    1.17 +        printk("XenPage %p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
    1.18                 _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.19                 page->u.inuse.type_info);
    1.20      }
    1.21  
    1.22      page = virt_to_page(d->shared_info);
    1.23 -    printk("Shared_info@%p: mfn=%x, caf=%08x, taf=%" PRtype_info "\n",
    1.24 +    printk("Shared_info@%p: mfn=%tx, caf=%08x, taf=%" PRtype_info "\n",
    1.25             _p(page_to_phys(page)), page-frame_table, page->count_info,
    1.26             page->u.inuse.type_info);
    1.27  }