summaryrefslogtreecommitdiffstats
path: root/sys/dev/rp
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/rp')
-rw-r--r--sys/dev/rp/rp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c
index da32de8..a244af5 100644
--- a/sys/dev/rp/rp.c
+++ b/sys/dev/rp/rp.c
@@ -861,7 +861,7 @@ rp_attachcommon(CONTROLLER_T *ctlp, int num_aiops, int num_ports)
for(aiop=0; aiop < num_aiops; aiop++) {
num_chan = sGetAiopNumChan(ctlp, aiop);
for(chan=0; chan < num_chan; chan++, port++, rp++) {
- rp->rp_tty = ttymalloc(NULL);
+ rp->rp_tty = ttyalloc();
rp->rp_port = port;
rp->rp_ctlp = ctlp;
rp->rp_unit = unit;
OpenPOWER on IntegriCloud