summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-03 11:08:29 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-12-03 11:08:29 +0000
commit256dec0f0475c3c53412073d72fba4be72e98849 (patch)
tree547227f5cc4dd4a80bc1e031ece1bd7d501212e9 /sys
parentd20c92a38b31a2bf54b577aafe3590b2ed3eb0b3 (diff)
clr TS_WOPEN if bailing on cua opens
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/cy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c
index aec56a3f49b..c81a6ab0da3 100644
--- a/sys/dev/ic/cy.c
+++ b/sys/dev/ic/cy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cy.c,v 1.6 1996/12/03 05:28:21 kstailey Exp $ */
+/* $OpenBSD: cy.c,v 1.7 1996/12/03 11:08:28 deraadt Exp $ */
/*
* cy.c
@@ -438,6 +438,7 @@ cyopen(dev, flag, mode, p)
error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH, "cydcd", 0);
if(error != 0) {
splx(s);
+ CLR(tp->t_state, TS_WOPEN);
return error;
}
}