summaryrefslogtreecommitdiffstats
path: root/libexec/rpc.sprayd
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-02-14 17:42:58 +0000
committerstefanf <stefanf@FreeBSD.org>2005-02-14 17:42:58 +0000
commit03a2de3818d3547af96f80c072688c6fdd6c6fe1 (patch)
tree5a1a482690a82b5a762fe1b22f8d9ecebb0c7f70 /libexec/rpc.sprayd
parent5c113e48aed10704fe27e0b338b08967972af1a5 (diff)
downloadFreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.zip
FreeBSD-src-03a2de3818d3547af96f80c072688c6fdd6c6fe1.tar.gz
Fix most cases where the address of an int is passed to a function expecting a
socklen_t * argument.
Diffstat (limited to 'libexec/rpc.sprayd')
-rw-r--r--libexec/rpc.sprayd/sprayd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rpc.sprayd/sprayd.c b/libexec/rpc.sprayd/sprayd.c
index 20210d9..9c7cee1 100644
--- a/libexec/rpc.sprayd/sprayd.c
+++ b/libexec/rpc.sprayd/sprayd.c
@@ -78,7 +78,7 @@ main(int argc, char *argv[])
SVCXPRT *transp;
int ok;
struct sockaddr_storage from;
- int fromlen;
+ socklen_t fromlen;
/*
* See if inetd started us
OpenPOWER on IntegriCloud