HomeFreeBSD

readelf: Fix the check for an error from realloc().

Description

readelf: Fix the check for an error from realloc().

Use err() instead of errx() while here, since realloc() sets errno.

CID: 1401326
MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on
Parents
rS357540: readelf: Fix a double close of the input file.
Branches
Unknown
Tags
Unknown