From f00200d8a459bcf01e832c89518247e88ce28bf0 Mon Sep 17 00:00:00 2001 From: phk Date: Thu, 15 Jul 2004 20:47:41 +0000 Subject: 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. --- sys/dev/nmdm/nmdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/nmdm/nmdm.c') diff --git a/sys/dev/nmdm/nmdm.c b/sys/dev/nmdm/nmdm.c index 280bb9c..41a8704 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 -- cgit v1.1