Off-by-128 error in the cuam* device node numbers.

This commit is contained in:
Robert Watson 2002-05-20 05:12:56 +00:00
parent 12f2edc7d5
commit 6be2f8829a
2 changed files with 2 additions and 2 deletions

View file

@ -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) {

View file

@ -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) {