diff options
author | phk <phk@FreeBSD.org> | 2004-09-17 07:28:07 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-09-17 07:28:07 +0000 |
commit | e107a6f14059151546c94bb1dd9308c2efacab24 (patch) | |
tree | 1cf9df7774726c4621a5a96f44f606a7af4fd33b /sys/dev/uart/uart_tty.c | |
parent | 55525729a12626a4268858c5994ec97153753e98 (diff) | |
download | FreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.zip FreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.tar.gz |
Use ttyalloc() instead of ttymalloc(NULL)
Diffstat (limited to 'sys/dev/uart/uart_tty.c')
-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 c4d0220..45de134 100644 --- a/sys/dev/uart/uart_tty.c +++ b/sys/dev/uart/uart_tty.c @@ -340,7 +340,7 @@ uart_tty_attach(struct uart_softc *sc) { struct tty *tp; - tp = ttymalloc(NULL); + tp = ttyalloc(); sc->sc_u.u_tty.tp = tp; sc->sc_u.u_tty.si[0] = make_dev(&uart_cdevsw, |