summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1996-12-03 11:08:28 +0000
committerderaadt <deraadt@openbsd.org>1996-12-03 11:08:28 +0000
commit84f4af7b62ec707c38a58db18ab44520a6ca6ad7 (patch)
treef6946581e756b1ddef1555ec91a359f19d5289fe
parent/usr/share/misc/termcap (diff)
downloadwireguard-openbsd-84f4af7b62ec707c38a58db18ab44520a6ca6ad7.tar.xz
wireguard-openbsd-84f4af7b62ec707c38a58db18ab44520a6ca6ad7.zip
clr TS_WOPEN if bailing on cua opens
-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;
}
}