summaryrefslogtreecommitdiff
path: root/sys/arch/i386/isa
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-11 13:28:07 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-11 13:28:07 +0000
commit95b8c160e9062f12c2d085b55b37d7ac02647055 (patch)
tree22e6bba4d2c00cd0ac0ade01dfb34978987d797f /sys/arch/i386/isa
parent60c4f206b4f3029e576ba581136a5637847a0f13 (diff)
TS_WOPEN on cua close, like com.c
Diffstat (limited to 'sys/arch/i386/isa')
-rw-r--r--sys/arch/i386/isa/pccom.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/arch/i386/isa/pccom.c b/sys/arch/i386/isa/pccom.c
index 77e0cb99edb..e5e4ef570df 100644
--- a/sys/arch/i386/isa/pccom.c
+++ b/sys/arch/i386/isa/pccom.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pccom.c,v 1.8 1996/11/30 11:54:32 downsj Exp $ */
+/* $OpenBSD: pccom.c,v 1.9 1996/12/11 13:28:06 deraadt Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -918,6 +918,7 @@ comopen(dev, flag, mode, p)
only waiter */
if (DEVCUA(dev))
sc->sc_cua = 0;
+ CLR(tp->t_state, TS_WOPEN);
splx(s);
return error;
}