aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sunrpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc.c b/sunrpc/svc.c
index 6caf841..4e83959 100644
--- a/sunrpc/svc.c
+++ b/sunrpc/svc.c
@@ -372,7 +372,7 @@ svc_getreqset (fd_set *readfds)
setsize = FD_SETSIZE;
maskp = readfds->fds_bits;
for (sock = 0; sock < setsize; sock += NFDBITS)
- for (mask = *maskp++; (bit = ffs (mask)); mask ^= (1 << (bit - 1)))
+ for (mask = *maskp++; (bit = ffsl (mask)); mask ^= (1 << (bit - 1)))
INTUSE(svc_getreq_common) (sock + bit - 1);
}
INTDEF (svc_getreqset)