From: deraadt Date: Wed, 11 Dec 1996 13:28:06 +0000 (+0000) Subject: TS_WOPEN on cua close, like com.c X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aa15ee0d5b2df7d99a3b7ae40fe41686381d9541;p=openbsd TS_WOPEN on cua close, like com.c --- 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; }