diff options
author | Igor Mammedov <imammedo@redhat.com> | 2011-08-02 11:45:24 +0200 |
---|---|---|
committer | Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> | 2011-08-04 21:31:28 +0200 |
commit | 8f3c5883d840d079a5d2db20893b5ac8ba453b40 (patch) | |
tree | a4a18aecf7bd7d2cdb39f46c71a1bb18e29553ea | |
parent | xen/tracing: it looks like we wanted CONFIG_FTRACE (diff) | |
download | linux-8f3c5883d840d079a5d2db20893b5ac8ba453b40.tar.xz linux-8f3c5883d840d079a5d2db20893b5ac8ba453b40.zip |
xen: Fix printk() format in xen/setup.c
Use correct format specifier for unsigned long.
Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
-rw-r--r-- | arch/x86/xen/setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c index 60aeeb56948f..e4056321b243 100644 --- a/arch/x86/xen/setup.c +++ b/arch/x86/xen/setup.c @@ -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; } |