summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2003-09-26 08:51:54 +0000
committerphk <phk@FreeBSD.org>2003-09-26 08:51:54 +0000
commit2c53f2561e4b73ebd7b639d573debb2aa8b450fd (patch)
tree40dc0c8fd6435d6239af80aa608b510a29b9d990 /sys
parent77741f51fb95bcb3adcd8210cc783f2227e25336 (diff)
downloadFreeBSD-src-2c53f2561e4b73ebd7b639d573debb2aa8b450fd.zip
FreeBSD-src-2c53f2561e4b73ebd7b639d573debb2aa8b450fd.tar.gz
Initialize cn_name, ignore cn_dev.
Diffstat (limited to 'sys')
-rw-r--r--sys/i386/isa/pcvt/pcvt_drv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/isa/pcvt/pcvt_drv.c b/sys/i386/isa/pcvt/pcvt_drv.c
index 432f25a..9462c34 100644
--- a/sys/i386/isa/pcvt/pcvt_drv.c
+++ b/sys/i386/isa/pcvt/pcvt_drv.c
@@ -658,7 +658,7 @@ pcvt_cn_probe(struct consdev *cp)
/* initialize required fields */
- cp->cn_dev = makedev(CDEV_MAJOR, 0);
+ sprintf(cp->cn_name, "ttyv%r", 0);
cp->cn_pri = CN_INTERNAL;
cp->cn_tp = &pcvt_tty[0];
}
OpenPOWER on IntegriCloud