summaryrefslogtreecommitdiff
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2003-05-13 20:36:02 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2003-05-13 20:36:02 +0000
commit90af4afacb3d76aba2261a2dba4a1c5f69670a19 (patch)
tree0e2ba79e40f08e96bb98756b67576ff96caccfbc /sys/kern/tty_pty.c
parent3ecb3802eeb415f4837f7e0af26c584a333018d2 (diff)
Notes
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index b104e6b76d89..eadcf086f021 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -235,7 +235,7 @@ again:
while (isbackground(p, tp)) {
sx_slock(&proctree_lock);
PROC_LOCK(p);
- if (SIGISMEMBER(p->p_sigignore, SIGTTIN) ||
+ if (SIGISMEMBER(p->p_sigacts->ps_sigignore, SIGTTIN) ||
SIGISMEMBER(td->td_sigmask, SIGTTIN) ||
p->p_pgrp->pg_jobc == 0 || p->p_flag & P_PPWAIT) {
PROC_UNLOCK(p);