From e107a6f14059151546c94bb1dd9308c2efacab24 Mon Sep 17 00:00:00 2001 From: phk Date: Fri, 17 Sep 2004 07:28:07 +0000 Subject: Use ttyalloc() instead of ttymalloc(NULL) --- sys/dev/si/si.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sys/dev/si') 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; -- cgit v1.1