about summary refs log tree commit diff
path: root/hurd/hurdsock.c
diff options
context:
space:
mode:
Diffstat (limited to 'hurd/hurdsock.c')
-rw-r--r--hurd/hurdsock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hurd/hurdsock.c b/hurd/hurdsock.c
index 07eb6a40c1..a01b8aa85c 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;