summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/rc/rc.c2
-rw-r--r--sys/i386/isa/rc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/rc/rc.c b/sys/dev/rc/rc.c
index 1e3f410..de6ea07 100644
--- a/sys/dev/rc/rc.c
+++ b/sys/dev/rc/rc.c
@@ -269,7 +269,7 @@ rcattach(dvp)
rcb->rcb_unit);
make_dev(&rc_cdevsw, chan + CD180_NCHAN * rcb->rcb_unit + 128,
UID_UUCP, GID_DIALER, 0660, "cuam%d", chan + CD180_NCHAN *
- rcb->rcb_unit + 128);
+ rcb->rcb_unit);
}
rcb->rcb_probed = RC_ATTACHED;
if (!rc_started) {
diff --git a/sys/i386/isa/rc.c b/sys/i386/isa/rc.c
index 1e3f410..de6ea07 100644
--- a/sys/i386/isa/rc.c
+++ b/sys/i386/isa/rc.c
@@ -269,7 +269,7 @@ rcattach(dvp)
rcb->rcb_unit);
make_dev(&rc_cdevsw, chan + CD180_NCHAN * rcb->rcb_unit + 128,
UID_UUCP, GID_DIALER, 0660, "cuam%d", chan + CD180_NCHAN *
- rcb->rcb_unit + 128);
+ rcb->rcb_unit);
}
rcb->rcb_probed = RC_ATTACHED;
if (!rc_started) {
OpenPOWER on IntegriCloud