aboutsummaryrefslogtreecommitdiff
path: root/sys/kern/tty_cons.c
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-06-26 12:19:03 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-06-26 12:19:03 +0000
commit82e4c0061b270ad4573afce4b40d67279b377a98 (patch)
tree03f0685fb7df4688adb02997af826932420cc1db /sys/kern/tty_cons.c
parent2ece3ed4c8e56f4b41c5e6d6329035dc2bb4406e (diff)
downloadsrc-82e4c0061b270ad4573afce4b40d67279b377a98.tar.gz
src-82e4c0061b270ad4573afce4b40d67279b377a98.zip
Notes
Diffstat (limited to 'sys/kern/tty_cons.c')
-rw-r--r--sys/kern/tty_cons.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index cee656476020..b319ae8caa4b 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -36,7 +36,7 @@
* SUCH DAMAGE.
*
* from: @(#)cons.c 7.2 (Berkeley) 5/9/91
- * $Id: cons.c,v 1.67 1999/05/31 11:25:41 phk Exp $
+ * $Id: cons.c,v 1.68 1999/06/22 14:12:54 yokota Exp $
*/
#include "opt_devfs.h"
@@ -114,14 +114,13 @@ CONS_DRIVER(cons, NULL, NULL, NULL, NULL, NULL, NULL);
void
cninit()
{
- struct consdev *best_cp, *cp;
- const struct consdev **list;
+ struct consdev **list, *best_cp, *cp;
/*
* Find the first console with the highest priority.
*/
best_cp = NULL;
- list = (const struct consdev **)cons_set.ls_items;
+ list = (struct consdev **)cons_set.ls_items;
while ((cp = *list++) != NULL) {
if (cp->cn_probe == NULL)
continue;