summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorivoras <ivoras@FreeBSD.org>2008-12-01 15:02:00 +0000
committerivoras <ivoras@FreeBSD.org>2008-12-01 15:02:00 +0000
commit3173b6480a67cf7d75b7c0ba0face752bf74d01d (patch)
treed3c95432d66c320b340b5ac10e870d066f95e222
parentb8203d2b22b9bf3696b79c81d2503072e68e07c0 (diff)
downloadFreeBSD-src-3173b6480a67cf7d75b7c0ba0face752bf74d01d.zip
FreeBSD-src-3173b6480a67cf7d75b7c0ba0face752bf74d01d.tar.gz
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
-rw-r--r--sys/geom/geom_bsd.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/geom/geom_bsd.c b/sys/geom/geom_bsd.c
index 1a0bf20..7c3d227 100644
--- a/sys/geom/geom_bsd.c
+++ b/sys/geom/geom_bsd.c
@@ -136,7 +136,8 @@ g_bsd_modify(struct g_geom *gp, u_char *label)
}
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);
OpenPOWER on IntegriCloud