summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-10-29 23:59:48 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-10-29 23:59:48 +0000
commit934051e5c53b5a89ed142373526269d5a04bbebc (patch)
tree569d473b8da10d820e2cee825c420d823e042492
parent23e79aa78627fc99cce4df31eba879ee15f9ed81 (diff)
downloadsrc-test2-934051e5c53b5a89ed142373526269d5a04bbebc.tar.gz
src-test2-934051e5c53b5a89ed142373526269d5a04bbebc.zip
Notes
-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 a2d16ee3e25f..31a06733b0fa 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;