diff options
author | Roland McGrath <roland@gnu.org> | 2008-01-21 01:35:17 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2008-01-21 01:35:17 +0000 |
commit | 173b756d8f7f1b6b35ef00a62ea8cdb74a6217be (patch) | |
tree | a836d5854583db980d9734591fa254cf92b9bc53 /sunrpc/bindrsvprt.c | |
parent | 4c533566c2bb94162bcc1f66c5cf9db609e20803 (diff) | |
download | glibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.tar.gz glibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.tar.xz glibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.zip |
2008-01-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
* hurd/hurdsock.c (_hurd_socket_server): Return the standard error EAFNOSUPPORT rather than non-standard EPFNOSUPPORT. * sunrpc/bindrsvprt.c (bindresvport): Likewise.
Diffstat (limited to 'sunrpc/bindrsvprt.c')
-rw-r--r-- | sunrpc/bindrsvprt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/bindrsvprt.c b/sunrpc/bindrsvprt.c index 023ae1723b..003c3dfd46 100644 --- a/sunrpc/bindrsvprt.c +++ b/sunrpc/bindrsvprt.c @@ -61,7 +61,7 @@ bindresvport (int sd, struct sockaddr_in *sin) } else if (sin->sin_family != AF_INET) { - __set_errno (EPFNOSUPPORT); + __set_errno (EAFNOSUPPORT); return -1; } |