diff options
author | ume <ume@FreeBSD.org> | 2001-02-15 10:35:55 +0000 |
---|---|---|
committer | ume <ume@FreeBSD.org> | 2001-02-15 10:35:55 +0000 |
commit | bf66c2eda88095d4910d396920c45781fd19db78 (patch) | |
tree | fec467d8f011430483519c5b12d0778cc7154c94 /lib | |
parent | 126eb13f1ad3a376c386474ffbc2051157e8b493 (diff) | |
download | FreeBSD-src-bf66c2eda88095d4910d396920c45781fd19db78.zip FreeBSD-src-bf66c2eda88095d4910d396920c45781fd19db78.tar.gz |
Correct 2nd argument of getnameinfo(3) to socklen_t.
Reviewed by: itojun
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/net/getnameinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libc/net/getnameinfo.c b/lib/libc/net/getnameinfo.c index 5bf2192..06d4d00 100644 --- a/lib/libc/net/getnameinfo.c +++ b/lib/libc/net/getnameinfo.c @@ -98,7 +98,7 @@ static int ip6_sa2str __P((const struct sockaddr_in6 *, char *, size_t, int)); int getnameinfo(sa, salen, host, hostlen, serv, servlen, flags) const struct sockaddr *sa; - size_t salen; + socklen_t salen; char *host; size_t hostlen; char *serv; |