diff options
author | Bruce Evans <bde@FreeBSD.org> | 1999-01-09 15:41:49 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 1999-01-09 15:41:49 +0000 |
commit | b5be346ff75225a807c46bce2e22b111322103c4 (patch) | |
tree | 7dd72f81c162a849c3b9e0cbd8b6e9daad2c41bd | |
parent | bcb321b33e76175e4b71217f62bca7eda9f1d878 (diff) | |
download | src-b5be346ff75225a807c46bce2e22b111322103c4.tar.gz src-b5be346ff75225a807c46bce2e22b111322103c4.zip |
Fixed switching between consoles (sc0, vt0 or sioN) in userconfig.
Broken in: rev.1.315
Notes
Notes:
svn path=/head/; revision=42437
-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 cb4f514a8414..2fed70512563 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 cb4f514a8414..2fed70512563 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), |