HomeFreeBSD

bhyve: Fix getaddrinfo() error handling

Description

bhyve: Fix getaddrinfo() error handling

  • Use errx() since errno will not be set.
  • Print the message returned by gai_strerror().

MFC after: 1 week
Sponsored by: The FreeBSD Foundation

Details

Provenance
markjAuthored on Feb 8 2022, 5:34 PM
Parents
rG745f30641cc4: release.7: Drop obsolete notes about old versions of mkimg
Branches
Unknown
Tags
Unknown