aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/nmdm
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-07-15 20:47:41 +0000
commit672c05d49c9565187ba43fd37c632fd5960c04b5 (patch)
treecb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/dev/nmdm
parente65b8f47b37d55056175640b70f210b763a29f00 (diff)
downloadsrc-672c05d49c9565187ba43fd37c632fd5960c04b5.tar.gz
src-672c05d49c9565187ba43fd37c632fd5960c04b5.zip
Preparation commit for the tty cleanups that will follow in the near
future: rename ttyopen() -> tty_open() and ttyclose() -> tty_close(). We need the ttyopen() and ttyclose() for the new generic cdevsw functions for tty devices in order to have consistent naming.
Notes
Notes: svn path=/head/; revision=132226
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