diff options
author | ache <ache@FreeBSD.org> | 1995-04-10 01:45:43 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1995-04-10 01:45:43 +0000 |
commit | 37c4de562683232c6883396328e76716832a8d78 (patch) | |
tree | 7dc19fefd8138f42c4055c6f2359c48d203e7c66 /sys/kern/tty_pty.c | |
parent | 0a71b378b5f313c5ddaa362da5e298da0485ce70 (diff) | |
download | FreeBSD-src-37c4de562683232c6883396328e76716832a8d78.zip FreeBSD-src-37c4de562683232c6883396328e76716832a8d78.tar.gz |
Call ptsstop in ptsclose instead of ptcwakeup
Diffstat (limited to 'sys/kern/tty_pty.c')
-rw-r--r-- | sys/kern/tty_pty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 4287920..a2f913b 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.8 1995/02/28 00:21:05 pst Exp $ + * $Id: tty_pty.c,v 1.9 1995/04/09 22:28:24 ache Exp $ */ /* @@ -159,8 +159,8 @@ ptsclose(dev, flag, mode, p) int err; tp = &pt_tty[minor(dev)]; - ptcwakeup(tp, FREAD|FWRITE); err = (*linesw[tp->t_line].l_close)(tp, flag); + ptsstop(tp, FREAD|FWRITE); (void) ttyclose(tp); return (err); } |