Author: ivoras
Date: Mon Dec  1 15:02:00 2008
New Revision: 185518
URL: http://svn.freebsd.org/changeset/base/185518

Log:
  Trivial patch to show on which geom has the error been detected.
  
  Submitted by: Rick C. Petty
  Approved by:  gnn (mentor)
  MFC after:    1 month

Modified:
  head/sys/geom/geom_bsd.c

Modified: head/sys/geom/geom_bsd.c
==============================================================================
--- head/sys/geom/geom_bsd.c    Mon Dec  1 14:34:42 2008        (r185517)
+++ head/sys/geom/geom_bsd.c    Mon Dec  1 15:02:00 2008        (r185518)
@@ -136,7 +136,8 @@ g_bsd_modify(struct g_geom *gp, u_char *
        }
        
        if (rawoffset != 0 && (off_t)rawoffset != ms->mbroffset)
-               printf("WARNING: Expected rawoffset %jd, found %jd\n",
+               printf("WARNING: %s expected rawoffset %jd, found %jd\n",
+                   gp->name,
                    (intmax_t)ms->mbroffset/dl.d_secsize,
                    (intmax_t)rawoffset/dl.d_secsize);
 
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to