summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r--sys/kern/tty_pty.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c
index a2d16ee..31a0673 100644
--- a/sys/kern/tty_pty.c
+++ b/sys/kern/tty_pty.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)tty_pty.c 8.2 (Berkeley) 9/23/93
- * $Id: tty_pty.c,v 1.4 1994/09/15 19:47:16 bde Exp $
+ * $Id: tty_pty.c,v 1.5 1994/10/02 17:35:30 phk Exp $
*/
/*
@@ -265,7 +265,7 @@ ptcwakeup(tp, flag)
}
if (flag & FWRITE) {
selwakeup(&pti->pt_selw);
- wakeup((caddr_t)&tp->t_rawq.c_cf);
+ wakeup((caddr_t)&tp->t_rawq.c_cl);
}
}
@@ -543,7 +543,7 @@ block:
return (EWOULDBLOCK);
return (0);
}
- error = tsleep((caddr_t)&tp->t_rawq.c_cf, TTOPRI | PCATCH, ttyout, 0);
+ error = tsleep((caddr_t)&tp->t_rawq.c_cl, TTOPRI | PCATCH, ttyout, 0);
if (error) {
/* adjust for data copied in but not written */
uio->uio_resid += cc;
OpenPOWER on IntegriCloud