summaryrefslogtreecommitdiff
path: root/sys/dev/cx/if_cx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/cx/if_cx.c')
-rw-r--r--sys/dev/cx/if_cx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/cx/if_cx.c b/sys/dev/cx/if_cx.c
index c2b877db98ce3..638e947dacbdf 100644
--- a/sys/dev/cx/if_cx.c
+++ b/sys/dev/cx/if_cx.c
@@ -1640,7 +1640,7 @@ static int cx_close (struct cdev *dev, int flag, int mode, struct thread *td)
cx_set_rts (d->chan, 0);
ttydtrwaitstart(d->tty);
}
- ttyclose (d->tty);
+ tty_close (d->tty);
splx (s);
d->callout = 0;