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 8d289bfc13d1..6267a6cc6113 100644
--- a/kernel/exit.c
+++ b/kernel/exit.c
@@ -304,7 +304,7 @@ void __set_special_pids(pid_t session, pid_t pgrp)
304 304
305 if (process_session(curr) != session) { 305 if (process_session(curr) != session) {
306 detach_pid(curr, PIDTYPE_SID); 306 detach_pid(curr, PIDTYPE_SID);
307 curr->signal->session = session; 307 set_signal_session(curr->signal, session);
308 attach_pid(curr, PIDTYPE_SID, session); 308 attach_pid(curr, PIDTYPE_SID, session);
309 } 309 }
310 if (process_group(curr) != pgrp) { 310 if (process_group(curr) != pgrp) {