summaryrefslogtreecommitdiff
path: root/sys/dev/cy/cy.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cy/cy.c')
-rw-r--r--sys/dev/cy/cy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cy/cy.c b/sys/dev/cy/cy.c
index 47d75ad20b357..04df7e109ec12 100644
--- a/sys/dev/cy/cy.c
+++ b/sys/dev/cy/cy.c
@@ -786,7 +786,7 @@ sioclose(dev, flag, mode, td)
ttyld_close(tp, flag);
disc_optim(tp, &tp->t_termios, com);
comhardclose(com);
- ttyclose(tp);
+ tty_close(tp);
siosettimeout();
splx(s);
#ifdef broken /* session holds a ref to the tty; can't deallocate */