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
rGd4b496996750: zfs: merge openzfs/zfs@3de7aeb68 (zfs-2.1-release) into stable/13
Branches
Unknown
Tags
Unknown