summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/auth_time.c
diff options
context:
space:
mode:
authorstefanf <stefanf@FreeBSD.org>2005-03-10 00:57:01 +0000
committerstefanf <stefanf@FreeBSD.org>2005-03-10 00:57:01 +0000
commit624654db85d8dcfec20ad8c4555a9081920e6622 (patch)
tree7813428bda53806335dcac739460e461e963ab47 /lib/libc/rpc/auth_time.c
parentf01ea9b62654b444f236eae247140d7e5c0b8f7f (diff)
downloadFreeBSD-src-624654db85d8dcfec20ad8c4555a9081920e6622.zip
FreeBSD-src-624654db85d8dcfec20ad8c4555a9081920e6622.tar.gz
Use socklen_t where appropriate.
Approved by: alfred
Diffstat (limited to 'lib/libc/rpc/auth_time.c')
-rw-r--r--lib/libc/rpc/auth_time.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libc/rpc/auth_time.c b/lib/libc/rpc/auth_time.c
index 0bebea6..ae108c2 100644
--- a/lib/libc/rpc/auth_time.c
+++ b/lib/libc/rpc/auth_time.c
@@ -253,7 +253,8 @@ __rpc_get_time_offset(td, srv, thost, uaddr, netid)
nis_server tsrv;
void (*oldsig)() = NULL; /* old alarm handler */
struct sockaddr_in sin;
- int s = RPC_ANYSOCK, len;
+ socklen_t len;
+ int s = RPC_ANYSOCK;
int type = 0;
td->tv_sec = 0;
OpenPOWER on IntegriCloud