summaryrefslogtreecommitdiffstats
path: root/sys/dev/si
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/si
parent55525729a12626a4268858c5994ec97153753e98 (diff)
downloadFreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.zip
FreeBSD-src-e107a6f14059151546c94bb1dd9308c2efacab24.tar.gz
Use ttyalloc() instead of ttymalloc(NULL)
Diffstat (limited to 'sys/dev/si')
-rw-r--r--sys/dev/si/si.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/si/si.c b/sys/dev/si/si.c
index ad81ab0..0cd84d7 100644
--- a/sys/dev/si/si.c
+++ b/sys/dev/si/si.c
@@ -553,7 +553,7 @@ try_next:
for (x = 0; x < nport; x++, pp++, ccbp++) {
pp->sp_ccb = ccbp; /* save the address */
- pp->sp_tty = ttymalloc(NULL);
+ pp->sp_tty = ttyalloc();
pp->sp_pend = IDLE_CLOSE;
pp->sp_state = 0; /* internal flag */
pp->sp_iin.c_iflag = TTYDEF_IFLAG;
OpenPOWER on IntegriCloud