diff options
author | Aleksey Makarov <aleksey.makarov@gmail.com> | 2012-06-27 00:53:43 +0700 |
---|---|---|
committer | Simon Horman <horms@verge.net.au> | 2012-06-27 09:16:47 +0900 |
commit | be902019c6161ecead58d2789c73e2999ed9c30b (patch) | |
tree | 49f871a651bba322bc20835b42487e6203573b84 /kexec/kexec.c | |
parent | bfca8b3f9dbff356a3970e282c1f94e45f076b48 (diff) |
Fix format strings of die()
One of them caused crash when user specifies a file that does not
exist.
Signed-off-by: Aleksey Makarov <aleksey.makarov@gmail.com>
Removed trailing whitespace.
Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/kexec.c')
-rw-r--r-- | kexec/kexec.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |