diff options
author | delphij <delphij@FreeBSD.org> | 2005-12-21 10:12:05 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2005-12-21 10:12:05 +0000 |
commit | 645ac334a85d4731c992a828c10de94df3696275 (patch) | |
tree | e4829807b01cdfe2b5eb24eb9c18815f9ca6d242 /usr.sbin/nfsd | |
parent | 2bb58e1702380e696f4ef0ff6787f82988ae7a5d (diff) | |
download | FreeBSD-src-645ac334a85d4731c992a828c10de94df3696275.zip FreeBSD-src-645ac334a85d4731c992a828c10de94df3696275.tar.gz |
Previous revision was broken on SPARC, fix it by using more appropriate type.
Reported by: tindebox
Pointy hat to: delphij
Diffstat (limited to 'usr.sbin/nfsd')
-rw-r--r-- | usr.sbin/nfsd/nfsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/nfsd/nfsd.c b/usr.sbin/nfsd/nfsd.c index fca3738..09795ec8 100644 --- a/usr.sbin/nfsd/nfsd.c +++ b/usr.sbin/nfsd/nfsd.c @@ -125,7 +125,7 @@ main(int argc, char **argv) fd_set ready, sockbits; fd_set v4bits, v6bits; int ch, connect_type_cnt, i, maxsock, msgsock; - size_t len; + socklen_t len; int on = 1, unregister, reregister, sock; int tcp6sock, ip6flag, tcpflag, tcpsock; int udpflag, ecode, s, srvcnt; |