about summary refs log tree commit diff
path: root/sunrpc
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/bindrsvprt.c2
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;
     }