Enji Cooper 4ce7bd2527 Fix reporting errors with gai_strerror(..)
The return value (`err`) should be checked; not the `errno` value.

PR:		235200
Approved by:	emaste (mentor)
Reviewed by:	asomers, lwhsu
MFC after:	28 days
MFC with:	r343362, r343365, r343367-r343368
Differential Revision: https://reviews.freebsd.org/D18969
2019-01-26 03:43:12 +00:00
..
2018-12-05 00:46:09 +00:00
2018-12-05 00:46:09 +00:00
2018-10-20 22:39:35 +00:00
2018-12-05 00:46:09 +00:00
2018-12-05 00:46:09 +00:00
2018-10-21 00:20:40 +00:00
2018-07-23 09:54:28 +00:00