svn commit: r265473 - head/sys/dev/mpr
Kenneth D. Merry
ken at FreeBSD.org
Tue May 6 22:13:39 UTC 2014
Author: ken
Date: Tue May 6 22:13:38 2014
New Revision: 265473
URL: http://svnweb.freebsd.org/changeset/base/265473
Log:
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 at avagotech.com>
MFC after: 3 days
Modified:
head/sys/dev/mpr/mpr_user.c
Modified: head/sys/dev/mpr/mpr_user.c
==============================================================================
--- head/sys/dev/mpr/mpr_user.c Tue May 6 22:06:39 2014 (r265472)
+++ head/sys/dev/mpr/mpr_user.c Tue May 6 22:13:38 2014 (r265473)
@@ -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);
}
More information about the svn-src-head
mailing list