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
This commit is contained in:
Kenneth D. Merry 2014-05-06 22:13:38 +00:00
parent d1d66eac15
commit c0ba1535a4

View File

@ -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);
}