aboutsummaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2008-01-21 01:35:17 +0000
committerRoland McGrath <roland@gnu.org>2008-01-21 01:35:17 +0000
commit173b756d8f7f1b6b35ef00a62ea8cdb74a6217be (patch)
treea836d5854583db980d9734591fa254cf92b9bc53 /hurd
parent4c533566c2bb94162bcc1f66c5cf9db609e20803 (diff)
downloadglibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.zip
glibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.tar.gz
glibc-173b756d8f7f1b6b35ef00a62ea8cdb74a6217be.tar.bz2
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 'hurd')
-rw-r--r--hurd/hurdsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c
index 07eb6a4..a01b8aa 100644
--- a/hurd/hurdsock.c
+++ b/hurd/hurdsock.c
@@ -92,7 +92,7 @@ _hurd_socket_server (int domain, int dead)
if (server == MACH_PORT_NULL && errno == ENOENT)
/* If the server node is absent, we don't support that protocol. */
- errno = EPFNOSUPPORT;
+ errno = EAFNOSUPPORT;
__mutex_unlock (&lock);
HURD_CRITICAL_END;