Update applications to display correct error for gethostbyaddr and gethostbyname...
authorlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 4 Oct 2011 18:31:40 +0000 (18:31 +0000)
committerlpleahy <lpleahy@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 4 Oct 2011 18:31:40 +0000 (18:31 +0000)
commitf32df6f658ab29a3c5d0104fc3db8849e6998762
treeaca72fd299dfac64eb1019d810a3c1261da6a186
parent89bbce116a4dabb83c1be5953b030928f2d2f378
Update applications to display correct error for gethostbyaddr and gethostbyname.  These APIs use h_errno instead of errno, see documentation at: linuxhowtos.org/manpages/3p/gethostbyaddr.htm

Signed-off-by: lpleahy
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12511 6f19259b-4bc3-4df7-8a09-765794883524
AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c
AppPkg/Applications/Sockets/GetHostByDns/GetHostByDns.c
AppPkg/Applications/Sockets/GetHostByName/GetHostByName.c