summaryrefslogtreecommitdiffstats
path: root/sys/dev/mpr/mpr_user.c
diff options
context:
space:
mode:
authorken <ken@FreeBSD.org>2014-05-06 22:13:38 +0000
committerken <ken@FreeBSD.org>2014-05-06 22:13:38 +0000
commita22475dd7f672da3a636f122400b75f08834935d (patch)
tree7a901de4a1a91b0a482b47a862e4da375d2f33a1 /sys/dev/mpr/mpr_user.c
parentc9e9fdb2a1af4451fc0fff4e3bad8c43e47305c1 (diff)
downloadFreeBSD-src-a22475dd7f672da3a636f122400b75f08834935d.zip
FreeBSD-src-a22475dd7f672da3a636f122400b75f08834935d.tar.gz
Change the device name for mpr(4) from /dev/mpr_N to /dev/mprN.
This is more consistent with the existing mps(4) behavior. Reviewed by: Steve McConnell <stephen.mcconnell@avagotech.com> MFC after: 3 days
Diffstat (limited to 'sys/dev/mpr/mpr_user.c')
-rw-r--r--sys/dev/mpr/mpr_user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/mpr/mpr_user.c b/sys/dev/mpr/mpr_user.c
index 3f46b14..60680f5 100644
--- a/sys/dev/mpr/mpr_user.c
+++ b/sys/dev/mpr/mpr_user.c
@@ -212,7 +212,7 @@ mpr_attach_user(struct mpr_softc *sc)
unit = device_get_unit(sc->mpr_dev);
sc->mpr_cdev = make_dev(&mpr_cdevsw, unit, UID_ROOT, GID_OPERATOR,
- 0640, "mpr_%d", unit);
+ 0640, "mpr%d", unit);
if (sc->mpr_cdev == NULL) {
return (ENOMEM);
}
OpenPOWER on IntegriCloud