diff options
author | ken <ken@FreeBSD.org> | 2014-05-06 22:13:38 +0000 |
---|---|---|
committer | ken <ken@FreeBSD.org> | 2014-05-06 22:13:38 +0000 |
commit | a22475dd7f672da3a636f122400b75f08834935d (patch) | |
tree | 7a901de4a1a91b0a482b47a862e4da375d2f33a1 /sys/dev/mpr | |
parent | c9e9fdb2a1af4451fc0fff4e3bad8c43e47305c1 (diff) | |
download | FreeBSD-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')
-rw-r--r-- | sys/dev/mpr/mpr_user.c | 2 |
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); } |