aboutsummaryrefslogtreecommitdiffstats
path: root/fs/binfmt_elf_fdpic.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/binfmt_elf_fdpic.c')
-rw-r--r--fs/binfmt_elf_fdpic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/binfmt_elf_fdpic.c b/fs/binfmt_elf_fdpic.c
index e0344f69c79d..5b3076e8ee90 100644
--- a/fs/binfmt_elf_fdpic.c
+++ b/fs/binfmt_elf_fdpic.c
@@ -187,7 +187,7 @@ static int load_elf_fdpic_binary(struct linux_binprm *bprm, struct pt_regs *regs
187 goto error; 187 goto error;
188 188
189 /* read the name of the interpreter into memory */ 189 /* read the name of the interpreter into memory */
190 interpreter_name = (char *) kmalloc(phdr->p_filesz, GFP_KERNEL); 190 interpreter_name = kmalloc(phdr->p_filesz, GFP_KERNEL);
191 if (!interpreter_name) 191 if (!interpreter_name)
192 goto error; 192 goto error;
193 193