summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/svc.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:11:10 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-09-22 05:11:10 +0000
commit0270cf3de534ebb133e99d67596c9e16e1cdf167 (patch)
treea053858453baed7ccdea13dfa77f07d9feafc32d /lib/libc/rpc/svc.c
parent4c647c64ad12bbd9b186f4e62f9ba0e29874cf85 (diff)
Some -Wall.
Diffstat (limited to 'lib/libc/rpc/svc.c')
-rw-r--r--lib/libc/rpc/svc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/rpc/svc.c b/lib/libc/rpc/svc.c
index 5d2e657cc15..698570a4548 100644
--- a/lib/libc/rpc/svc.c
+++ b/lib/libc/rpc/svc.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: svc.c,v 1.9 1997/03/29 05:55:06 deraadt Exp $";
+static char *rcsid = "$OpenBSD: svc.c,v 1.10 1997/09/22 05:11:09 millert Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -431,7 +431,7 @@ svc_getreqset2(readfds, width)
maskp = readfds->fds_bits;
for (sock = 0; sock < width; sock += NFDBITS) {
- 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];
if (xprt == NULL)