aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nmdm
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/nmdm')
-rw-r--r--sys/dev/nmdm/nmdm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c
index 280bb9cf2da7..41a8704305d4 100644
--- a/sys/dev/nmdm/nmdm.c
+++ b/sys/dev/nmdm/nmdm.c
@@ -294,7 +294,7 @@ static int
nmdmclose(struct cdev *dev, int flag, int mode, struct thread *td)
{
- return (ttyclose(dev->si_tty));
+ return (tty_close(dev->si_tty));
}
static void