summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/pmap_rmt.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2002-09-06 18:35:12 +0000
committerderaadt <deraadt@openbsd.org>2002-09-06 18:35:12 +0000
commite62fa23158f9a28dfa69af8524e808a8b9ca30ea (patch)
treee6ac7812f4b168991e11aa6b8a1b15b6f97e6b69 /lib/libc/rpc/pmap_rmt.c
parentundo signed vs unsigned confusion (diff)
downloadwireguard-openbsd-e62fa23158f9a28dfa69af8524e808a8b9ca30ea.tar.xz
wireguard-openbsd-e62fa23158f9a28dfa69af8524e808a8b9ca30ea.zip
use socklen_t where needed; henning pvalchev ok
Diffstat (limited to 'lib/libc/rpc/pmap_rmt.c')
-rw-r--r--lib/libc/rpc/pmap_rmt.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/libc/rpc/pmap_rmt.c b/lib/libc/rpc/pmap_rmt.c
index 0183696dd44..2e36d1263ea 100644
--- a/lib/libc/rpc/pmap_rmt.c
+++ b/lib/libc/rpc/pmap_rmt.c
@@ -28,7 +28,7 @@
*/
#if defined(LIBC_SCCS) && !defined(lint)
-static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.19 2001/09/15 13:51:01 deraadt Exp $";
+static char *rcsid = "$OpenBSD: pmap_rmt.c,v 1.20 2002/09/06 18:35:12 deraadt Exp $";
#endif /* LIBC_SCCS and not lint */
/*
@@ -229,7 +229,8 @@ clnt_broadcast(prog, vers, proc, xargs, argsp, xresults, resultsp, eachresult)
AUTH *unix_auth = authunix_create_default();
XDR xdr_stream;
XDR *xdrs = &xdr_stream;
- int outlen, inlen, fromlen, nets;
+ int outlen, inlen, nets;
+ socklen_t fromlen;
int sock = -1;
int on = 1;
fd_set *fds = NULL, readfds;