diff options
Diffstat (limited to 'kexec/arch')
-rw-r--r-- | kexec/arch/x86_64/crashdump-x86_64.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kexec/arch/x86_64/crashdump-x86_64.c b/kexec/arch/x86_64/crashdump-x86_64.c index a6ad89c..fc2dd91 100644 --- a/kexec/arch/x86_64/crashdump-x86_64.c +++ b/kexec/arch/x86_64/crashdump-x86_64.c @@ -120,6 +120,7 @@ static int get_kernel_vaddr_and_size(struct kexec_info *info, elf_flags |= ELF_SKIP_FILESZ_CHECK; result = build_elf_core_info(buf, size, &ehdr, elf_flags); if (result < 0) { + /* Perhaps KCORE_ELF_HEADERS_SIZE is too small? */ fprintf(stderr, "ELF core (kcore) parse failed\n"); return -1; } |