summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorJan Klemkow <jan@cvs.openbsd.org>2021-09-01 16:10:40 +0000
committerJan Klemkow <jan@cvs.openbsd.org>2021-09-01 16:10:40 +0000
commit7c648a178c8a3fc2a1e63b3fd99c359e610b2269 (patch)
treef025212e8505cffde6406a3bba30e9f4374cb8a9 /sys/dev/ic
parent1006afd4e830c7d004b0f5cdcdca73ad382d8af4 (diff)
Use ttopen in tty drivers open functions as ttysleep string, as the others do.
ok patrick@
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/cy.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c
index 2b9d4111f34..a2f3848c1ee 100644
--- a/sys/dev/ic/cy.c
+++ b/sys/dev/ic/cy.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cy.c,v 1.40 2021/03/07 06:21:38 jsg Exp $ */
+/* $OpenBSD: cy.c,v 1.41 2021/09/01 16:10:39 jan Exp $ */
/*
* Copyright (c) 1996 Timo Rossi.
* All rights reserved.
@@ -368,7 +368,7 @@ cyopen(dev_t dev, int flag, int mode, struct proc *p)
!ISSET(tp->t_state, TS_CARR_ON)) {
SET(tp->t_state, TS_WOPEN);
error = ttysleep(tp, &tp->t_rawq, TTIPRI | PCATCH,
- "cydcd");
+ ttopen);
if (error != 0) {
splx(s);
CLR(tp->t_state, TS_WOPEN);