summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-10-16 20:58:22 +0000
committerphk <phk@FreeBSD.org>2005-10-16 20:58:22 +0000
commit10f4dbda56eef05d130579ac3b175bce17cc99ea (patch)
tree9928459e7f4fce705aea79e7aea62e83233a0f61 /sys/dev/dcons
parent9f01990d4c8092e63ca74a8adcc926a8e143904c (diff)
downloadFreeBSD-src-10f4dbda56eef05d130579ac3b175bce17cc99ea.zip
FreeBSD-src-10f4dbda56eef05d130579ac3b175bce17cc99ea.tar.gz
Make ttyconsolemode() call ttsetwater() so that drivers don't have to.
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons_os.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c
index 8ca20aa..7a51e1c 100644
--- a/sys/dev/dcons/dcons_os.c
+++ b/sys/dev/dcons/dcons_os.c
@@ -295,7 +295,6 @@ dcons_open(DEV dev, int flag, int mode, THREAD *td)
if ((tp->t_state & TS_ISOPEN) == 0) {
tp->t_state |= TS_CARR_ON;
ttyconsolemode(tp, 0);
- ttsetwater(tp);
} else if ((tp->t_state & TS_XCLUDE) && suser(td)) {
splx(s);
return (EBUSY);
OpenPOWER on IntegriCloud