summaryrefslogtreecommitdiffstats
path: root/sys/dev/rc
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2002-05-20 05:12:56 +0000
committerrwatson <rwatson@FreeBSD.org>2002-05-20 05:12:56 +0000
commit947a97e82ecb1741fab6b8edfcf82fb37521874f (patch)
treece1e8e8c85c4d11e5c7475fc3dbbcd9fe7afe055 /sys/dev/rc
parenta727c5433fc66e8780e10872c801f53472984e3c (diff)
downloadFreeBSD-src-947a97e82ecb1741fab6b8edfcf82fb37521874f.zip
FreeBSD-src-947a97e82ecb1741fab6b8edfcf82fb37521874f.tar.gz
Off-by-128 error in the cuam* device node numbers.
Diffstat (limited to 'sys/dev/rc')
-rw-r--r--sys/dev/rc/rc.c2
1 files changed, 1 insertions, 1 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) {
OpenPOWER on IntegriCloud