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>
This commit is contained in:
Igor Mammedov 2011-08-02 11:45:24 +02:00 committed by Konrad Rzeszutek Wilk
parent 1e9ea2656b
commit 8f3c5883d8
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}