aboutsummaryrefslogtreecommitdiffstats
path: root/init/initramfs.c
diff options
context:
space:
mode:
Diffstat (limited to 'init/initramfs.c')
-rw-r--r--init/initramfs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/initramfs.c b/init/initramfs.c
index 35173bef7c00..0d3b001b0dc5 100644
--- a/init/initramfs.c
+++ b/init/initramfs.c
@@ -346,7 +346,7 @@ static int __init do_name(void)
346 ksys_fchown(wfd, uid, gid); 346 ksys_fchown(wfd, uid, gid);
347 ksys_fchmod(wfd, mode); 347 ksys_fchmod(wfd, mode);
348 if (body_len) 348 if (body_len)
349 sys_ftruncate(wfd, body_len); 349 ksys_ftruncate(wfd, body_len);
350 vcollected = kstrdup(collected, GFP_KERNEL); 350 vcollected = kstrdup(collected, GFP_KERNEL);
351 state = CopyFile; 351 state = CopyFile;
352 } 352 }