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

(cherry picked from commit 1ea87e2a70c31454a8696ab2979d13d21c5575d2)

Details

Provenance
markjAuthored on Jun 6 2021, 8:40 PM
Parents
rG7e7e2b9f9c85: bsdconfig: add a new mirror in Bulgaria
Branches
Unknown
Tags
Unknown