diff --git a/sys/kern/tty.c b/sys/kern/tty.c index 0b543f176a5..2367cd34b76 100644 --- a/sys/kern/tty.c +++ b/sys/kern/tty.c @@ -1601,7 +1601,7 @@ loop: splx(s); 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_flag & P_PPWAIT) || p->p_pgrp->pg_jobc == 0) { PROC_UNLOCK(p);