summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
}