summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1999-01-09 15:41:49 +0000
committerbde <bde@FreeBSD.org>1999-01-09 15:41:49 +0000
commit98e70033b2ba635b2dde1145598d6c5aba7b0c4f (patch)
tree84e6319933548bd335d97c3a1114b210eda2896c /sys/i386
parent5eefcec6b500800ee7a3c1d70b3f062a5b46324b (diff)
downloadFreeBSD-src-98e70033b2ba635b2dde1145598d6c5aba7b0c4f.zip
FreeBSD-src-98e70033b2ba635b2dde1145598d6c5aba7b0c4f.tar.gz
Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.
Broken in: rev.1.315
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/i386/machdep.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/i386/i386/machdep.c b/sys/i386/i386/machdep.c
index cb4f514..2fed705 100644
--- a/sys/i386/i386/machdep.c
+++ b/sys/i386/i386/machdep.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)machdep.c 7.4 (Berkeley) 6/3/91
- * $Id: machdep.c,v 1.319 1998/12/16 16:28:56 bde Exp $
+ * $Id: machdep.c,v 1.320 1999/01/06 23:05:36 julian Exp $
*/
#include "apm.h"
@@ -434,6 +434,7 @@ again:
#if defined(USERCONFIG)
userconfig();
+ cninit(); /* the preferred console may have changed */
#endif
printf("avail memory = %d (%dK bytes)\n", ptoa(cnt.v_free_count),
OpenPOWER on IntegriCloud