Date: Sun, 11 Oct 1998 03:19:12 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG Subject: cvs commit: src/sys/boot/common console.c Message-ID: <199810111019.DAA17488@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 1998/10/11 03:19:11 PDT Modified files: sys/boot/common console.c Log: Probe all consoles, not just the first. It doesn't make a lot of difference, but might later on when we implement some sort of multi-head console mode. Select a console after probing them all. Don't strdup a potentially NULL return from getenv(). If we don't select an active console, choose the first regardless. Call the console init function, at startup time and on a manual change. The env_setenv() function needs EV_VOLATILE because it's pointing to data that isn't malloc'ed and will cause a fault if it's freed later. Revision Changes Path 1.3 +21 -7 src/sys/boot/common/console.c To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199810111019.DAA17488>