aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/proc/vmcore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c
index 8afe10cf7df8..8ab782d8b33d 100644
--- a/fs/proc/vmcore.c
+++ b/fs/proc/vmcore.c
@@ -1071,7 +1071,7 @@ static int __init parse_crash_elf32_headers(void)
1071 /* Do some basic Verification. */ 1071 /* Do some basic Verification. */
1072 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 || 1072 if (memcmp(ehdr.e_ident, ELFMAG, SELFMAG) != 0 ||
1073 (ehdr.e_type != ET_CORE) || 1073 (ehdr.e_type != ET_CORE) ||
1074 !elf_check_arch(&ehdr) || 1074 !vmcore_elf32_check_arch(&ehdr) ||
1075 ehdr.e_ident[EI_CLASS] != ELFCLASS32|| 1075 ehdr.e_ident[EI_CLASS] != ELFCLASS32||
1076 ehdr.e_ident[EI_VERSION] != EV_CURRENT || 1076 ehdr.e_ident[EI_VERSION] != EV_CURRENT ||
1077 ehdr.e_version != EV_CURRENT || 1077 ehdr.e_version != EV_CURRENT ||