Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Oct 2008 17:40:18 GMT
From:      Ed Schouten <ed@FreeBSD.org>
To:        Perforce Change Reviews <perforce@FreeBSD.org>
Subject:   PERFORCE change 152034 for review
Message-ID:  <200810271740.m9RHeIxX045591@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=152034

Change 152034 by ed@ed_dull on 2008/10/27 17:40:08

	Make sure we set dev_console_filename to NULL when cnremove() is
	being called.

Affected files ...

.. //depot/projects/mpsafetty/sys/kern/tty_cons.c#7 edit

Differences ...

==== //depot/projects/mpsafetty/sys/kern/tty_cons.c#7 (text+ko) ====

@@ -204,6 +204,8 @@
 	STAILQ_FOREACH(cnd, &cn_devlist, cnd_next) {
 		if (cnd->cnd_cn != cn)
 			continue;
+		if (STAILQ_FIRST(&cn_devlist) == cnd)
+			ttyconsdev_select(NULL);
 		STAILQ_REMOVE(&cn_devlist, cnd, cn_device, cnd_next);
 		cnd->cnd_cn = NULL;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200810271740.m9RHeIxX045591>