aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/uart
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2005-05-08 20:25:09 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2005-05-08 20:25:09 +0000
commit9f0974f96d84d1cd06e6f0f6c04d202198be4e51 (patch)
tree3d5ec877ef2a4e434b2d57fb4524308b4bc18ffe /sys/dev/uart
parent0e35a97bf93d249479007c0f7cc4d8dfae113871 (diff)
Notes
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_tty.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c
index 8f3c3c5d64fe..6eb573be44fb 100644
--- a/sys/dev/uart/uart_tty.c
+++ b/sys/dev/uart/uart_tty.c
@@ -76,6 +76,7 @@ uart_cnprobe(struct consdev *cp)
if (uart_probe(&uart_console))
return;
+ strlcpy(cp->cn_name, uart_driver_name, sizeof(cp->cn_name));
cp->cn_pri = (boothowto & RB_SERIAL) ? CN_REMOTE : CN_NORMAL;
cp->cn_arg = &uart_console;
}