From 256dec0f0475c3c53412073d72fba4be72e98849 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Tue, 3 Dec 1996 11:08:29 +0000 Subject: clr TS_WOPEN if bailing on cua opens --- sys/dev/ic/cy.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sys') 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; } } -- cgit v1.2.3