diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-15 20:47:41 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-07-15 20:47:41 +0000 |
| commit | 672c05d49c9565187ba43fd37c632fd5960c04b5 (patch) | |
| tree | cb8932d8c884d3a6cc8f7e0616a4bdfa7fe0e5ee /sys/dev/dcons | |
| parent | e65b8f47b37d55056175640b70f210b763a29f00 (diff) | |
Notes
Diffstat (limited to 'sys/dev/dcons')
| -rw-r--r-- | sys/dev/dcons/dcons.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c index 26774447ec10..bc33dbe489e2 100644 --- a/sys/dev/dcons/dcons.c +++ b/sys/dev/dcons/dcons.c @@ -230,7 +230,7 @@ dcons_close(struct cdev *dev, int flag, int mode, struct THREAD *td) tp = dev->si_tty; if (tp->t_state & TS_ISOPEN) { ttyld_close(tp, flag); - ttyclose(tp); + tty_close(tp); } return (0); @@ -597,7 +597,7 @@ dcons_detach(int port) if (tp->t_state & TS_ISOPEN) { printf("dcons: still opened\n"); ttyld_close(tp, 0); - ttyclose(tp); + tty_close(tp); } /* XXX * must wait until all device are closed. |
