summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;