Date: Sun, 2 Aug 2015 16:29:31 +0000 (UTC) From: "Andrey V. Elsukov" <ae@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-9@freebsd.org Subject: svn commit: r286209 - stable/9/sys/geom/part Message-ID: <201508021629.t72GTVTL027547@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ae Date: Sun Aug 2 16:29:30 2015 New Revision: 286209 URL: https://svnweb.freebsd.org/changeset/base/286209 Log: MFC r286207: Report the scheme and provider names in warning message about unaligned partition. PR: 201873 Modified: stable/9/sys/geom/part/g_part.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/geom/part/g_part.c ============================================================================== --- stable/9/sys/geom/part/g_part.c Sun Aug 2 16:26:41 2015 (r286208) +++ stable/9/sys/geom/part/g_part.c Sun Aug 2 16:29:30 2015 (r286209) @@ -309,8 +309,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 */ } }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201508021629.t72GTVTL027547>