diff options
author | phk <phk@FreeBSD.org> | 2004-07-15 20:47:41 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-07-15 20:47:41 +0000 |
commit | f00200d8a459bcf01e832c89518247e88ce28bf0 (patch) | |
tree | cb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/dev/sab | |
parent | 2f3742942cca7902c160ba9f75eae9a92e905e0f (diff) | |
download | FreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.zip FreeBSD-src-f00200d8a459bcf01e832c89518247e88ce28bf0.tar.gz |
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.
Diffstat (limited to 'sys/dev/sab')
-rw-r--r-- | sys/dev/sab/sab.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c index ab84e36..eb9a4f3 100644 --- a/sys/dev/sab/sab.c +++ b/sys/dev/sab/sab.c @@ -706,7 +706,7 @@ sabttyopen(struct cdev *dev, int flags, int mode, struct thread *td) /* XXX handle initial DCD */ } - error = ttyopen(dev, tp); + error = tty_open(dev, tp); if (error != 0) return (error); @@ -728,7 +728,7 @@ sabttyclose(struct cdev *dev, int flags, int mode, struct thread *td) return (0); ttyld_close(tp, flags); - ttyclose(tp); + tty_close(tp); return (0); } |