diff packages/net/ns/dns/current/src/dns.c @ 1692:f7cb1caf8d2a

* src/dns.c (cyg_dns_getnameinfo): And another typo
author asl
date Tue, 13 Jul 2004 20:59:54 +0000
parents c81db0785971
children e0d4cd2bcc2c
line wrap: on
line diff
--- a/packages/net/ns/dns/current/src/dns.c
+++ b/packages/net/ns/dns/current/src/dns.c
@@ -656,7 +656,7 @@ cyg_dns_getnameinfo(const struct sockadd
     
     /* Has the socket to the DNS server been opened? */
     if (s < 0) {
-        CYG_REPORT_RETVAL( -EIA_FAIL );
+        CYG_REPORT_RETVAL( -EAI_FAIL );
         return -EAI_FAIL;
     }