diff options
Diffstat (limited to 'AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c')
-rw-r--r-- | AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c index 63299a1f9d..cec6b6c7c9 100644 --- a/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c +++ b/AppPkg/Applications/Sockets/GetHostByAddr/GetHostByAddr.c @@ -75,7 +75,7 @@ main ( IpAddress[3] = (UINT8)RemoteAddress[3];
pHost = gethostbyaddr ( &IpAddress[0], INADDRSZ, AF_INET );
if ( NULL == pHost ) {
- Print ( L"ERROR - host not found, errno: %d\r\n", errno );
+ Print ( L"ERROR - host not found, h_errno: %d\r\n", h_errno );
}
else {
pIpAddress = (UINT8 *)pHost->h_addr_list[ 0 ];
|