summaryrefslogtreecommitdiff
path: root/sys/dev/sx/sx.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sx/sx.c')
-rw-r--r--sys/dev/sx/sx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sx/sx.c b/sys/dev/sx/sx.c
index 56110165cced8..4995292695119 100644
--- a/sys/dev/sx/sx.c
+++ b/sys/dev/sx/sx.c
@@ -548,7 +548,7 @@ sxclose(
/* ok. we are now still on the right track.. nuke the hardware */
sxhardclose(pp);
- ttyclose(tp);
+ tty_close(tp);
pp->sp_state &= ~SX_SS_OPEN;
out: