diff options
author | ache <ache@FreeBSD.org> | 1994-03-21 22:19:56 +0000 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 1994-03-21 22:19:56 +0000 |
commit | ee1a0d60c443fa83d28ae2045c01c072c53b8535 (patch) | |
tree | eaf7f6e7a55d0a370c6d1143f5204bd6ce83489f /sys/dev | |
parent | 8a08d987e568582fd92f4bedbce60356d7aefa22 (diff) | |
download | FreeBSD-src-ee1a0d60c443fa83d28ae2045c01c072c53b8535.zip FreeBSD-src-ee1a0d60c443fa83d28ae2045c01c072c53b8535.tar.gz |
Add siostop to sioclose, because ttyflush called from
wrong places removed now.
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/sio/sio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index d9a2341..f19709f 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.35 1994/03/18 23:35:37 ache Exp $ + * $Id: sio.c,v 1.36 1994/03/21 15:18:27 ache Exp $ */ #include "sio.h" @@ -772,6 +772,7 @@ sioclose(dev, flag, mode, p) com = com_addr(UNIT(dev)); tp = com->tp; (*linesw[tp->t_line].l_close)(tp, flag); + siostop(tp, FREAD|FWRITE); ttyclose(tp); comhardclose(com); return (0); |