From be902019c6161ecead58d2789c73e2999ed9c30b Mon Sep 17 00:00:00 2001 From: Aleksey Makarov Date: Wed, 27 Jun 2012 00:53:43 +0700 Subject: Fix format strings of die() One of them caused crash when user specifies a file that does not exist. Signed-off-by: Aleksey Makarov Removed trailing whitespace. Signed-off-by: Simon Horman --- kexec/kexec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kexec/kexec.c') diff --git a/kexec/kexec.c b/kexec/kexec.c index d2d05a8..5ab0196 100644 --- a/kexec/kexec.c +++ b/kexec/kexec.c @@ -321,7 +321,7 @@ void add_segment_phys_virt(struct kexec_info *info, * thing. */ if (base & (pagesize -1)) { - die("Base address: %x is not page aligned\n", base); + die("Base address: %lx is not page aligned\n", base); } if (phys) -- cgit