From 83d05492ed5e7576506db9b03772157d6aaf9f7b Mon Sep 17 00:00:00 2001 From: "Andrey A. Chernov" Date: Mon, 10 Apr 1995 01:45:43 +0000 Subject: [PATCH] Call ptsstop in ptsclose instead of ptcwakeup --- sys/kern/tty_pty.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/kern/tty_pty.c b/sys/kern/tty_pty.c index 428792090f83..a2f913b34fd5 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); }