summaryrefslogtreecommitdiff
path: root/kexec
diff options
context:
space:
mode:
authorHorms <horms@verge.net.au>2006-12-13 11:14:16 +0900
committerSimon Horman <horms@verge.net.au>2006-12-18 12:05:13 +0900
commit554d26792d53e54a5d5331548134326046d620b9 (patch)
tree7021819286bd35c68b8771ac46e940f5b7ad3793 /kexec
parentbac7bfac708e63f9e974b742aad79e08e43f7cb5 (diff)
kexec-tools: ia64: fix bogus mem_max = ULONG_MAX
fix bogus mem_max = ULONG_MAX Cc: Bob Montgomery <bob.montgomery@hp.com> Signed-Off-By: Simon Horman <horms@verge.net.au>
Diffstat (limited to 'kexec')
-rw-r--r--kexec/arch/ia64/kexec-elf-ia64.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kexec/arch/ia64/kexec-elf-ia64.c b/kexec/arch/ia64/kexec-elf-ia64.c
index 1d63c07..477ff71 100644
--- a/kexec/arch/ia64/kexec-elf-ia64.c
+++ b/kexec/arch/ia64/kexec-elf-ia64.c
@@ -186,7 +186,7 @@ int elf_ia64_load(int argc, char **argv, const char *buf, off_t len,
}
if (info->kexec_flags & KEXEC_ON_CRASH ) {
- if ((mem_min == 0x00) && (mem_max = ULONG_MAX)) {
+ if ((mem_min == 0x00) && (mem_max == ULONG_MAX)) {
fprintf(stderr, "Failed to find crash kernel region in /proc/iomem\n");
free_elf_info(&ehdr);
return -1;