summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-09-17 07:28:07 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-09-17 07:28:07 +0000
commita45b36ad47f136b8684645299cf35a19f2e26303 (patch)
tree1cf9df7774726c4621a5a96f44f606a7af4fd33b /sys/dev/sio/sio.c
parent35779bdbd14c87a81ed9f6f21ba51477c9b6d5bf (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 979e954bc493..599f188f9a11 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -967,7 +967,7 @@ sioattach(dev, xrid, rclk)
com->line_status_port = iobase + com_lsr;
com->modem_status_port = iobase + com_msr;
- tp = com->tp = ttymalloc(NULL);
+ tp = com->tp = ttyalloc();
tp->t_oproc = comstart;
tp->t_param = comparam;
tp->t_stop = comstop;