aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/exit.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/exit.c')
-rw-r--r--kernel/exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/exit.c b/kernel/exit.c
index 96716fd22373..d7815f570882 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -388,7 +388,7 @@ void daemonize(const char *name, ...)
388 get_nsproxy(&init_nsproxy); 388 get_nsproxy(&init_nsproxy);
389 switch_task_namespaces(current, &init_nsproxy); 389 switch_task_namespaces(current, &init_nsproxy);
390 } 390 }
391 set_special_pids(find_pid(1)); 391 set_special_pids(&init_struct_pid);
392 proc_clear_tty(current); 392 proc_clear_tty(current);
393 393
394 /* Block and flush all signals */ 394 /* Block and flush all signals */