aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--inet/getnameinfo.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 4ff8e97d48..77c1c71f0d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1998-04-10 Ulrich Drepper <drepper@cygnus.com>
+
+ * inet/getnameinfo.c (getnameinfo): Change parameter to match
+ declaration. Patch by Richard Henderson.
+
1998-04-10 12:40 Zack Weinberg <zack@rabi.phys.columbia.edu>
* manual/process.texi (SIGCHLD example): Save errno.
diff --git a/inet/getnameinfo.c b/inet/getnameinfo.c
index a7cdb07742..5cfb6ded35 100644
--- a/inet/getnameinfo.c
+++ b/inet/getnameinfo.c
@@ -164,7 +164,7 @@ nrl_domainname (void)
int
-getnameinfo (const struct sockaddr *sa, size_t addrlen, char *host,
+getnameinfo (const struct sockaddr *sa, socklen_t addrlen, char *host,
size_t hostlen, char *serv, size_t servlen, int flags)
{
int serrno = errno;