summaryrefslogtreecommitdiffstats
path: root/sys/dev/syscons
diff options
context:
space:
mode:
authorjlemon <jlemon@FreeBSD.org>2001-10-24 18:30:05 +0000
committerjlemon <jlemon@FreeBSD.org>2001-10-24 18:30:05 +0000
commit86a48bed454ad49cef5a324b1f1723bdfab44961 (patch)
treefa272164f93e4dfc93e98858f9c4064d87404a61 /sys/dev/syscons
parentf95cdc1b96dae68a04461594ce87f6ffb5874429 (diff)
downloadFreeBSD-src-86a48bed454ad49cef5a324b1f1723bdfab44961.zip
FreeBSD-src-86a48bed454ad49cef5a324b1f1723bdfab44961.tar.gz
cn_tab no longer exists, use cnadd() to add a console device. Note that
this may result in duplicate console output in some cases.
Diffstat (limited to 'sys/dev/syscons')
-rw-r--r--sys/dev/syscons/syscons.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/syscons/syscons.c b/sys/dev/syscons/syscons.c
index c6dd8a2..cf9e4b9 100644
--- a/sys/dev/syscons/syscons.c
+++ b/sys/dev/syscons/syscons.c
@@ -1407,7 +1407,7 @@ sccnattach(void)
sc_console_unit = unit;
sc_console = SC_STAT(sc_get_softc(unit, SC_KERNEL_CONSOLE)->dev[0]);
consdev.cn_dev = makedev(CDEV_MAJOR, 0);
- cn_tab = &consdev;
+ cnadd(&consdev);
}
#endif /* __alpha__ */
OpenPOWER on IntegriCloud