]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - fs/binfmt_elf.c
ARM: 8418/1: add boot image dependencies to not generate invalid images
[karo-tx-linux.git] / fs / binfmt_elf.c
index 5046b62471037dc0a929306de0a7f89d7c8267a9..6b659967898ebc534c1ce8d91ff1179f050e8f34 100644 (file)
@@ -918,7 +918,7 @@ static int load_elf_binary(struct linux_binprm *bprm)
                        total_size = total_mapping_size(elf_phdata,
                                                        loc->elf_ex.e_phnum);
                        if (!total_size) {
-                               error = -EINVAL;
+                               retval = -EINVAL;
                                goto out_free_dentry;
                        }
                }