diff options
Diffstat (limited to 'sys/dev/rp/rp.c')
-rw-r--r-- | sys/dev/rp/rp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index 690e221..520ca80 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -774,7 +774,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 = tp = tty_alloc(&rp_tty_class, rp, NULL); + rp->rp_tty = tp = tty_alloc(&rp_tty_class, rp); rp->rp_port = port; rp->rp_ctlp = ctlp; rp->rp_unit = unit; |