diff options
author | Roland McGrath <roland@gnu.org> | 2005-11-03 21:39:36 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2005-11-03 21:39:36 +0000 |
commit | 87e3f68d1b13ec448210553672e45a5c21b1ca3e (patch) | |
tree | 7147fe0a4cf5a7dc6a8510c05c41ad4956ab106d /sunrpc/svc.c | |
parent | [BZ #1774] (diff) | |
download | glibc-87e3f68d1b13ec448210553672e45a5c21b1ca3e.tar.gz glibc-87e3f68d1b13ec448210553672e45a5c21b1ca3e.tar.bz2 glibc-87e3f68d1b13ec448210553672e45a5c21b1ca3e.zip |
[BZ #1548]
2005-11-03 Roland McGrath <roland@redhat.com>
[BZ #1548]
* sunrpc/svc.c (svc_getreqset): Use ffsl instead of ffs on fd_mask.
From Jay Lan <jlan@engr.sgi.com>.
Diffstat (limited to 'sunrpc/svc.c')
-rw-r--r-- | sunrpc/svc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sunrpc/svc.c b/sunrpc/svc.c index 6caf8412d5..4e8395945f 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) |