summaryrefslogtreecommitdiffstats
path: root/sys/dev/uart
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-09-17 07:28:07 +0000
committerphk <phk@FreeBSD.org>2004-09-17 07:28:07 +0000
commite107a6f14059151546c94bb1dd9308c2efacab24 (patch)
tree1cf9df7774726c4621a5a96f44f606a7af4fd33b /sys/dev/uart
parent55525729a12626a4268858c5994ec97153753e98 (diff)
downloadFreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.zip
FreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.tar.gz
Use ttyalloc() instead of ttymalloc(NULL)
Diffstat (limited to 'sys/dev/uart')
-rw-r--r--sys/dev/uart/uart_tty.c2
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,
OpenPOWER on IntegriCloud