summaryrefslogtreecommitdiff
path: root/kexec/crashdump-elf.c
diff options
context:
space:
mode:
authorSimon Horman <horms@verge.net.au>2007-02-14 11:57:55 +0900
committerSimon Horman <horms@verge.net.au>2007-02-14 11:57:55 +0900
commita62dba3262250b650abc84b42d7f95521b69a1c8 (patch)
tree6c5dffc21289ca787cf3a4347b90f5fb8b8c167a /kexec/crashdump-elf.c
parent3091b1398b6385186a7afaa60e303e84c0bc7bee (diff)
kexec-tools: load_crashdump_segments(): size should really be an unsigned long
load_crashdump_segments(): size should really be an unsigned long Signed-off-by: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec/crashdump-elf.c')
-rw-r--r--kexec/crashdump-elf.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/kexec/crashdump-elf.c b/kexec/crashdump-elf.c
index b8e1f49..850087e 100644
--- a/kexec/crashdump-elf.c
+++ b/kexec/crashdump-elf.c
@@ -31,7 +31,8 @@ int FUNC(struct kexec_info *info,
{
EHDR *elf;
PHDR *phdr;
- int i, sz;
+ int i;
+ unsigned long sz;
char *bufp;
long int nr_cpus = 0;
uint64_t notes_addr, notes_len;