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.mcconn...@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);
        }
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to