If partoffp is non-NULL then readdoslabel() is just looking for the correct address to write the passed label. Don't spoof partitions while looking for the address, as this could result in an invalid label being written out.
If partoffp is non-NULL then readdoslabel() is just looking for the
correct address to write the passed label. Don't spoof partitions
while looking for the address, as this could result in an invalid
label being written out.

"That looks right" deraadt@ "Looks good to me" miod@

orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars,orumin/openbsd-efivars