diff options
author | bde <bde@FreeBSD.org> | 1999-01-09 15:41:49 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1999-01-09 15:41:49 +0000 |
commit | 98e70033b2ba635b2dde1145598d6c5aba7b0c4f (patch) | |
tree | 84e6319933548bd335d97c3a1114b210eda2896c | |
parent | 5eefcec6b500800ee7a3c1d70b3f062a5b46324b (diff) | |
download | FreeBSD-src-98e70033b2ba635b2dde1145598d6c5aba7b0c4f.zip FreeBSD-src-98e70033b2ba635b2dde1145598d6c5aba7b0c4f.tar.gz |
Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.
Broken in: rev.1.315
-rw-r--r-- | sys/amd64/amd64/machdep.c | 3 | ||||
-rw-r--r-- | sys/i386/i386/machdep.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c index cb4f514..2fed705 100644 --- a/sys/amd64/amd64/machdep.c +++ b/sys/amd64/amd64/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), 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), |