diff --git a/kernel/exit.c b/kernel/exit.c
index 96716fd22373936d4e87dd40d3fd3ad5d0c679e4..d7815f5708827c2ce6651cb31400de3cf22dfa95 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -388,7 +388,7 @@ void daemonize(const char *name, ...)
 		get_nsproxy(&init_nsproxy);
 		switch_task_namespaces(current, &init_nsproxy);
 	}
-	set_special_pids(find_pid(1));
+	set_special_pids(&init_struct_pid);
 	proc_clear_tty(current);
 
 	/* Block and flush all signals */