diff options
Diffstat (limited to 'fs/binfmt_em86.c')
-rw-r--r-- | fs/binfmt_em86.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_em86.c b/fs/binfmt_em86.c index 037a3e2b045b..f37b08cea1f7 100644 --- a/fs/binfmt_em86.c +++ b/fs/binfmt_em86.c | |||
@@ -38,7 +38,7 @@ static int load_em86(struct linux_binprm *bprm) | |||
38 | /* First of all, some simple consistency checks */ | 38 | /* First of all, some simple consistency checks */ |
39 | if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || | 39 | if ((elf_ex.e_type != ET_EXEC && elf_ex.e_type != ET_DYN) || |
40 | (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) || | 40 | (!((elf_ex.e_machine == EM_386) || (elf_ex.e_machine == EM_486))) || |
41 | (!bprm->file->f_op || !bprm->file->f_op->mmap)) { | 41 | !bprm->file->f_op->mmap) { |
42 | return -ENOEXEC; | 42 | return -ENOEXEC; |
43 | } | 43 | } |
44 | 44 | ||