about summary refs log tree commit diff
path: root/src/passwd
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2016-07-13 15:23:01 -0400
committerRich Felker <dalias@aerifal.cx>2016-07-13 15:23:01 -0400
commit39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e (patch)
treed69ce397913fe2b0197013521d7a27e964f74097 /src/passwd
parentcff5747c74c41b22f1ce1340978b1c226a8cdf32 (diff)
downloadmusl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.tar.gz
musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.tar.xz
musl-39494a273eaa6b714e0fa0c59ce7a1f5fbc80a1e.zip
revert unrelated change that slipped into last commit
Diffstat (limited to 'src/passwd')
-rw-r--r--src/passwd/nscd_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passwd/nscd_query.c b/src/passwd/nscd_query.c
index 1897edc8..d38e371b 100644
--- a/src/passwd/nscd_query.c
+++ b/src/passwd/nscd_query.c
@@ -40,7 +40,7 @@ retry:
 	buf[0] = NSCDVERSION;
 
 	fd = socket(PF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0);
-	if (fd < 0 && errno != EAFNOSUPPORT) return NULL;
+	if (fd < 0) return NULL;
 
 	if(!(f = fdopen(fd, "r"))) {
 		close(fd);