Skip to content

Commit

Permalink
xen: Fix printk() format in xen/setup.c
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Igor Mammedov authored and Konrad Rzeszutek Wilk committed Aug 4, 2011
1 parent 1e9ea26 commit 8f3c588
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arch/x86/xen/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand All @@ -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;
}

Expand Down

0 comments on commit 8f3c588

Please sign in to comment.