mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
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
This commit is contained in:
parent
f34015d47b
commit
499c86ebd5
1 changed files with 2 additions and 1 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue