svn commit: r286207 - stable/10/sys/geom/part
Andrey V. Elsukov
ae at FreeBSD.org
Sun Aug 2 16:25:22 UTC 2015
Author: ae
Date: Sun Aug 2 16:25:21 2015
New Revision: 286207
URL: https://svnweb.freebsd.org/changeset/base/286207
Log:
MFC r285889:
Report the scheme and provider names in warning message about unaligned
partition.
PR: 201873
Modified:
stable/10/sys/geom/part/g_part.c
Directory Properties:
stable/10/ (props changed)
Modified: stable/10/sys/geom/part/g_part.c
==============================================================================
--- stable/10/sys/geom/part/g_part.c Sun Aug 2 16:07:30 2015 (r286206)
+++ stable/10/sys/geom/part/g_part.c Sun Aug 2 16:25:21 2015 (r286207)
@@ -321,8 +321,10 @@ g_part_check_integrity(struct g_part_tab
if (e1->gpe_offset > offset)
offset = e1->gpe_offset;
if ((offset + pp->stripeoffset) % pp->stripesize) {
- DPRINTF("partition %d is not aligned on %u "
- "bytes\n", e1->gpe_index, pp->stripesize);
+ DPRINTF("partition %d on (%s, %s) is not "
+ "aligned on %u bytes\n", e1->gpe_index,
+ pp->name, table->gpt_scheme->name,
+ pp->stripesize);
/* Don't treat this as a critical failure */
}
}
More information about the svn-src-stable-10
mailing list