aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>1994-03-21 22:19:56 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>1994-03-21 22:19:56 +0000
commit7116e6b71c458a1d9900c2547f19e4165609d241 (patch)
treeeaf7f6e7a55d0a370c6d1143f5204bd6ce83489f /sys/dev/sio
parent308352e4d4a049060606e909f7f32bffc330adf7 (diff)
Notes
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index d9a23413c3741..f19709f9d44fe 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);