diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index 56f879b75a30..723a55ef0ac9 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -386,7 +386,7 @@ uart_tty_attach(struct uart_softc *sc) if (sc->sc_sysdev != NULL && sc->sc_sysdev->type == UART_DEV_CONSOLE) { sprintf(((struct consdev *)sc->sc_sysdev->cookie)->cn_name, "ttyu%r", unit); - tty_init_console(tp, 0); + tty_init_console(tp, sc->sc_sysdev->baudrate); } swi_add(&tty_intr_event, uart_driver_name, uart_tty_intr, sc, SWI_TTY,