summaryrefslogtreecommitdiff
path: root/sys/dev/ic/com.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-10 19:21:54 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-10 19:21:54 +0000
commit67ba979564b1216d2a06fabb0dd2b3939ab442e7 (patch)
treea54c7d5bc932c0565bf11819e31d8be3c67c221d /sys/dev/ic/com.c
parent0ca49b337ab293c673611fff9d1487265ee86ff9 (diff)
clr TS_WOPEN if bailing on cua opens
As well, at this point I've also done fancy cvs repository mangling to ensure that the com* files in sys/dev/ic maintain the history we had before. (Yes, I cleaned up the 2.0 tags too..)
Diffstat (limited to 'sys/dev/ic/com.c')
-rw-r--r--sys/dev/ic/com.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/com.c b/sys/dev/ic/com.c
index 81b15473c45..eab38582d46 100644
--- a/sys/dev/ic/com.c
+++ b/sys/dev/ic/com.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: com.c,v 1.28 1996/11/29 22:54:52 niklas Exp $ */
+/* $OpenBSD: com.c,v 1.29 1996/12/10 19:21:53 deraadt Exp $ */
/* $NetBSD: com.c,v 1.82.4.1 1996/06/02 09:08:00 mrg Exp $ */
/*-
@@ -952,6 +952,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;
}