summaryrefslogtreecommitdiffstats
path: root/sys/dev/sab
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-26 19:35:50 +0000
committerphk <phk@FreeBSD.org>2003-09-26 19:35:50 +0000
commit0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c (patch)
treeb043c185e95f23eb60516b39361aaf3ed74ca525 /sys/dev/sab
parent62fcef349695e2b63bcd465cb80df34a2bb21b46 (diff)
downloadFreeBSD-src-0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c.zip
FreeBSD-src-0c8bfb6d004a87cd501c13516a69b3ef59ed6c7c.tar.gz
OK, I messed up /dev/console with what I had hoped would be compat
code. Convert remaining console drivers and hope for the best.
Diffstat (limited to 'sys/dev/sab')
-rw-r--r--sys/dev/sab/sab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sab/sab.c b/sys/dev/sab/sab.c
index 4d86a5b..2eeb7f0 100644
--- a/sys/dev/sab/sab.c
+++ b/sys/dev/sab/sab.c
@@ -1111,7 +1111,7 @@ sab_cnprobe(struct consdev *cn)
cn->cn_pri = CN_DEAD;
else {
cn->cn_pri = CN_REMOTE;
- cn->cn_dev = sc->sc_si;
+ strcpy(cn->cn_name, devtoname(sc->sc_si));
cn->cn_tp = sc->sc_tty;
}
}
OpenPOWER on IntegriCloud