34c34
< * $Id: tty_pty.c,v 1.12 1995/07/21 16:30:52 bde Exp $
---
> * $Id: tty_pty.c,v 1.13 1995/07/21 20:52:40 bde Exp $
376,382c376
< if (tp->t_outq.c_cc <= tp->t_lowat) {
< if (tp->t_state&TS_ASLEEP) {
< tp->t_state &= ~TS_ASLEEP;
< wakeup((caddr_t)&tp->t_outq);
< }
< selwakeup(&tp->t_wsel);
< }
---
> ttwwakeup(tp);
< * $Id: tty_pty.c,v 1.12 1995/07/21 16:30:52 bde Exp $
---
> * $Id: tty_pty.c,v 1.13 1995/07/21 20:52:40 bde Exp $
376,382c376
< if (tp->t_outq.c_cc <= tp->t_lowat) {
< if (tp->t_state&TS_ASLEEP) {
< tp->t_state &= ~TS_ASLEEP;
< wakeup((caddr_t)&tp->t_outq);
< }
< selwakeup(&tp->t_wsel);
< }
---
> ttwwakeup(tp);