HomeFreeBSD

kboot: Use MIN instead of min

Description

kboot: Use MIN instead of min

MIN works for any type, while min() is only for integers. So we were
rounding down to 0 since that's the size of 4GB truncated to an int.

Sponsored by: Netflix

Details

Provenance
impAuthored on Mar 2 2023, 5:56 PM
Parents
rG3a616b10d8f7: kboot: Better default boot device
Branches
Unknown
Tags
Unknown