diff options
Diffstat (limited to 'sys/dev/uart')
-rw-r--r-- | sys/dev/uart/uart_tty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/uart/uart_tty.c b/sys/dev/uart/uart_tty.c index 5fcf98e..cb77f65 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -356,7 +356,7 @@ uart_tty_attach(struct uart_softc *sc) struct tty *tp; int unit; - sc->sc_u.u_tty.tp = tp = tty_alloc(&uart_tty_class, sc, NULL); + sc->sc_u.u_tty.tp = tp = tty_alloc(&uart_tty_class, sc); unit = device_get_unit(sc->sc_dev); |