summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorIgor Mammedov <imammedo@redhat.com>2011-08-02 11:45:24 +0200
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>2011-08-04 15:31:28 -0400
commit8f3c5883d840d079a5d2db20893b5ac8ba453b40 (patch)
treea4a18aecf7bd7d2cdb39f46c71a1bb18e29553ea /arch
parent1e9ea2656b656edd3c8de98675bbc0340211b5bd (diff)
downloadlinux-3.10-8f3c5883d840d079a5d2db20893b5ac8ba453b40.tar.gz
linux-3.10-8f3c5883d840d079a5d2db20893b5ac8ba453b40.tar.bz2
linux-3.10-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>
Diffstat (limited to 'arch')
-rw-r--r--arch/x86/xen/setup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/x86/xen/setup.c b/arch/x86/xen/setup.c
index 60aeeb56948..e4056321b24 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;
}