diff options
Diffstat (limited to 'kernel/fork.c')
-rw-r--r-- | kernel/fork.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/fork.c b/kernel/fork.c index efb618fc8ffe..cb46befdd3a0 100644 --- a/kernel/fork.c +++ b/kernel/fork.c | |||
@@ -1787,7 +1787,7 @@ bad_unshare_out: | |||
1787 | int unshare_files(struct files_struct **displaced) | 1787 | int unshare_files(struct files_struct **displaced) |
1788 | { | 1788 | { |
1789 | struct task_struct *task = current; | 1789 | struct task_struct *task = current; |
1790 | struct files_struct *copy; | 1790 | struct files_struct *copy = NULL; |
1791 | int error; | 1791 | int error; |
1792 | 1792 | ||
1793 | error = unshare_fd(CLONE_FILES, ©); | 1793 | error = unshare_fd(CLONE_FILES, ©); |