HomeFreeBSD

stand: Fix __elfN(loadimage) return value

Description

stand: Fix __elfN(loadimage) return value

Caller functions expect __elfN(loadimage) to return a value of zero on
failure and the file size on success.

PR: 256390
Reviewed by: markj
MFC after: 2 weeks

Details

Provenance
markjAuthored on Jun 6 2021, 8:40 PM
Parents
rGfbeb4ccac990: Suppress D_NEEDGIANT warnings for some drivers
Branches
Unknown
Tags
Unknown