From b11ef345eb75b53ada6784470f52cbc2252e5b54 Mon Sep 17 00:00:00 2001 From: Garance A Drosehn Date: Wed, 4 Aug 2004 00:21:19 +0000 Subject: [PATCH] Fix problems with the OFW console which happen when the system goes into single-user mode (as seen on sparc64 and PPC). Problems were due to a minor oversight in the changes committed in revision 1.25. Submitted by: grehan Tested by: gad & yongari --- sys/dev/ofw/ofw_console.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dev/ofw/ofw_console.c b/sys/dev/ofw/ofw_console.c index 986ad2f64b6b..5b3b2854434e 100644 --- a/sys/dev/ofw/ofw_console.c +++ b/sys/dev/ofw/ofw_console.c @@ -129,7 +129,7 @@ ofw_dev_open(struct cdev *dev, int flag, int mode, struct thread *td) ttychars(tp); tp->t_iflag = TTYDEF_IFLAG; tp->t_oflag = TTYDEF_OFLAG; - tp->t_cflag = TTYDEF_CFLAG; + tp->t_cflag = TTYDEF_CFLAG | CLOCAL; tp->t_lflag = TTYDEF_LFLAG; tp->t_ispeed = tp->t_ospeed = TTYDEF_SPEED; ttsetwater(tp);