diff options
-rw-r--r-- | fs/binfmt_elf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf.c b/fs/binfmt_elf.c index 241ef68d2893..cd46e4158830 100644 --- a/fs/binfmt_elf.c +++ b/fs/binfmt_elf.c | |||
@@ -918,7 +918,7 @@ static int load_elf_binary(struct linux_binprm *bprm) | |||
918 | total_size = total_mapping_size(elf_phdata, | 918 | total_size = total_mapping_size(elf_phdata, |
919 | loc->elf_ex.e_phnum); | 919 | loc->elf_ex.e_phnum); |
920 | if (!total_size) { | 920 | if (!total_size) { |
921 | error = -EINVAL; | 921 | retval = -EINVAL; |
922 | goto out_free_dentry; | 922 | goto out_free_dentry; |
923 | } | 923 | } |
924 | } | 924 | } |