From 7423b2b40caffd32e1237f5db09c510733dbaf66 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 16 Oct 2005 20:58:22 +0000 Subject: Make ttyconsolemode() call ttsetwater() so that drivers don't have to. --- sys/dev/dcons/dcons_os.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sys/dev/dcons/dcons_os.c') diff --git a/sys/dev/dcons/dcons_os.c b/sys/dev/dcons/dcons_os.c index 8ca20aa272f3..7a51e1cf38b3 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); -- cgit v1.3