Only be verbose if (bootverbose)
This commit is contained in:
parent
7176764df3
commit
cf83284fe3
@ -432,9 +432,12 @@ g_mbrext_taste(struct g_class *mp, struct g_provider *pp, int insist __unused)
|
|||||||
buf + DOSPARTOFF +
|
buf + DOSPARTOFF +
|
||||||
i * sizeof(struct dos_partition), dp + i);
|
i * sizeof(struct dos_partition), dp + i);
|
||||||
g_free(buf);
|
g_free(buf);
|
||||||
printf("MBREXT Slice %d on %s:\n", slice + 5, gp->name);
|
if (bootverbose) {
|
||||||
g_mbr_print(0, dp);
|
printf("MBREXT Slice %d on %s:\n",
|
||||||
g_mbr_print(1, dp + 1);
|
slice + 5, gp->name);
|
||||||
|
g_mbr_print(0, dp);
|
||||||
|
g_mbr_print(1, dp + 1);
|
||||||
|
}
|
||||||
if ((dp[0].dp_flag & 0x7f) == 0 &&
|
if ((dp[0].dp_flag & 0x7f) == 0 &&
|
||||||
dp[0].dp_size != 0 && dp[0].dp_typ != 0) {
|
dp[0].dp_size != 0 && dp[0].dp_typ != 0) {
|
||||||
g_topology_lock();
|
g_topology_lock();
|
||||||
|
Loading…
Reference in New Issue
Block a user