HomeFreeBSD

kboot: Assert errno is negative

Description

kboot: Assert errno is negative

When converting from a Linux error to a FreeBSD errno, assert that the
value passed in is negative, as is Linux's custom.

Suggested by: brooks
Sponsored by: Netflix
Reviewed by: tsoome, brooks
Differential Revision: https://reviews.freebsd.org/D38357

Details

Provenance
impAuthored on Feb 2 2023, 9:08 PM
Reviewer
tsoome
Differential Revision
D38357: kboot: Assert errno is negative
Parents
rGfb53e7adaf5b: tarfs: Fix 32-bit build.
Branches
Unknown
Tags
Unknown