X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/378393581903b274cb7a4d18e0d978071a6b592d..0c530ab8987f0ae6a1a3d9284f40182b88852816:/bsd/kern/tty_pty.c diff --git a/bsd/kern/tty_pty.c b/bsd/kern/tty_pty.c index 5ec154c67..b396f4b09 100644 --- a/bsd/kern/tty_pty.c +++ b/bsd/kern/tty_pty.c @@ -480,6 +480,7 @@ ptcopen(dev_t dev, __unused int flag, __unused int devtype, __unused proc_t p) goto out; } tp->t_oproc = ptsstart; + CLR(tp->t_state, TS_ZOMBIE); #ifdef sun4c tp->t_stop = ptsstop; #endif