summaryrefslogtreecommitdiff
path: root/fs/exec.c
diff options
context:
space:
mode:
Diffstat (limited to 'fs/exec.c')
-rw-r--r--fs/exec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/exec.c b/fs/exec.c
index c367e74cf103..9ea3a775d51e 100644
--- a/fs/exec.c
+++ b/fs/exec.c
@@ -1402,7 +1402,7 @@ static struct linux_binprm *alloc_bprm(int fd, struct filename *filename, int fl
if (IS_ERR(file))
return ERR_CAST(file);
- bprm = kzalloc_obj(*bprm, GFP_KERNEL);
+ bprm = kzalloc_obj(*bprm);
if (!bprm) {
do_close_execat(file);
return ERR_PTR(-ENOMEM);