Wrap Dangerously Dedicated printf under if (bootverbose)
This commit is contained in:
parent
2dfc960a5b
commit
b21d3f5c61
@ -254,8 +254,10 @@ dsinit(dev, lp, sspp)
|
||||
sizeof historical_bogus_partition_table) == 0 ||
|
||||
bcmp(dp0, historical_bogus_partition_table_fixed,
|
||||
sizeof historical_bogus_partition_table_fixed) == 0) {
|
||||
printf(
|
||||
"%s: invalid primary partition table: Dangerously Dedicated (ignored)\n", sname);
|
||||
if (bootverbose)
|
||||
printf(
|
||||
"%s: invalid primary partition table: Dangerously Dedicated (ignored)\n",
|
||||
sname);
|
||||
error = EINVAL;
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user