diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-09-17 07:28:07 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-09-17 07:28:07 +0000 |
| commit | a45b36ad47f136b8684645299cf35a19f2e26303 (patch) | |
| tree | 1cf9df7774726c4621a5a96f44f606a7af4fd33b /sys/dev/uart | |
| parent | 35779bdbd14c87a81ed9f6f21ba51477c9b6d5bf (diff) | |
Notes
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 c4d0220195bc..45de134f37b9 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, |
