HomeFreeBSD

kldxref: Tidy error handling for invalid addresses

Description

kldxref: Tidy error handling for invalid addresses

  • Don't print an offset value that's always zero.
  • ef_get_offset can't return -1.

Reviewed by: imp
Sponsored by: DARPA
Differential Revision: https://reviews.freebsd.org/D43124

Details

Provenance
jhbAuthored on Dec 22 2023, 3:48 PM
Reviewer
imp
Differential Revision
D43124: kldxref: Tidy error handling for invalid addresses
Parents
rG72f1e31f5fa1: bhyve.8: fix -k description
Branches
Unknown
Tags
Unknown