summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/net/net_addrcmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/net_addrcmp.c b/lib/libc/net/net_addrcmp.c
index 003b2567e91..64b3dce57df 100644
--- a/lib/libc/net/net_addrcmp.c
+++ b/lib/libc/net/net_addrcmp.c
@@ -28,7 +28,7 @@ net_addrcmp(sa1, sa2)
return (memcmp(&((struct sockaddr_ns *)sa1)->sns_addr,
&((struct sockaddr_ns *)sa2)->sns_addr,
sizeof(struct ns_addr)));
- case AF_UNIX:
+ case AF_LOCAL:
return (strcmp(((struct sockaddr_un *)sa1)->sun_path,
((struct sockaddr_un *)sa1)->sun_path));
default: