summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/tty_cons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/tty_cons.c b/sys/kern/tty_cons.c
index c0f8692..4472470 100644
--- a/sys/kern/tty_cons.c
+++ b/sys/kern/tty_cons.c
@@ -162,15 +162,15 @@ cninit(void)
/*
* Initialize console, and attach to it.
*/
- cnadd(cn);
cn->cn_init(cn);
+ cnadd(cn);
}
}
if (best_cn == NULL)
return;
if ((boothowto & RB_MULTIPLE) == 0) {
- cnadd(best_cn);
best_cn->cn_init(best_cn);
+ cnadd(best_cn);
}
if (boothowto & RB_PAUSE)
console_pausing = 1;
OpenPOWER on IntegriCloud