diff options
author | Mark Johnston <markj@FreeBSD.org> | 2022-02-08 17:34:03 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2023-01-26 19:21:32 +0000 |
commit | 3737a0cdcb42f4495438997d4ff1655273c3016b (patch) | |
tree | a58e3419f772d17f04b4310402e662cba7fff2de /usr.sbin/bhyve/pci_virtio_rnd.c | |
parent | 1cc76bb620af9aeb2cdbd9b1e6c9561dd1452057 (diff) |
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
(cherry picked from commit 927aa5fefd4c69e72d44189a04fadf80e42d0ad8)
Diffstat (limited to 'usr.sbin/bhyve/pci_virtio_rnd.c')
0 files changed, 0 insertions, 0 deletions