aboutsummaryrefslogtreecommitdiff
path: root/sunrpc/svc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sunrpc/svc.c')
-rw-r--r--sunrpc/svc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc.c b/sunrpc/svc.c
index c4b91aa..da97098 100644
--- a/sunrpc/svc.c
+++ b/sunrpc/svc.c
@@ -422,7 +422,7 @@ svc_getreqset (readfds)
maskp = (u_int32_t *) readfds->fds_bits;
for (sock = 0; sock < setsize; sock += 32)
{
- for (mask = *maskp++; bit = ffs (mask); mask ^= (1 << (bit - 1)))
+ for (mask = *maskp++; (bit = ffs (mask)); mask ^= (1 << (bit - 1)))
{
/* sock has input waiting */
xprt = xports[sock + bit - 1];