Sun Jun 23 19:42:05 1996 Ulrich Drepper <drepper@cygnus.com>
authorroland <roland>
Tue, 25 Jun 1996 06:50:28 +0000 (06:50 +0000)
committerroland <roland>
Tue, 25 Jun 1996 06:50:28 +0000 (06:50 +0000)
* resolv/inet_pton.c: Updated to bind-4.9.4-T5B.

resolv/inet_pton.c

index cfc069d..d0d45ae 100644 (file)
@@ -59,7 +59,7 @@ inet_pton(af, src, dst)
        case AF_INET6:
                return (inet_pton6(src, dst));
        default:
-               errno = EINVAL;
+               errno = EAFNOSUPPORT;
                return (-1);
        }
        /* NOTREACHED */