summaryrefslogtreecommitdiff
path: root/lib/libc/rpc/svc.c
diff options
context:
space:
mode:
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 698570a4548..bb82d599054 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.10 1997/09/22 05:11:09 millert Exp $";
+static char *rcsid = "$OpenBSD: svc.c,v 1.11 1998/02/25 12:21:18 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -97,7 +97,7 @@ xprt_register(xprt)
free(__svc_fdset);
}
__svc_fdset = fds;
- __svc_fdsetsize = howmany(sock+1, NFDBITS);
+ __svc_fdsetsize = sock+1;
}
if (sock < FD_SETSIZE)