summary refs log tree commit diff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-10 09:48:20 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-10 09:48:20 +0000
commitc7614ee9c55e61e527bf1e39239faf278177f122 (patch)
tree37b738637ae8d10882154552c7d50a4ef4ed0113
parentf9d6455b71c643d6421c3985bf997e7ce484fd7e (diff)
downloadglibc-c7614ee9c55e61e527bf1e39239faf278177f122.tar.gz
glibc-c7614ee9c55e61e527bf1e39239faf278177f122.tar.xz
glibc-c7614ee9c55e61e527bf1e39239faf278177f122.zip
Update.
1998-04-10  Ulrich Drepper  <drepper@cygnus.com>

	* inet/getnameinfo.c (getnameinfo): Change parameter to match
	declaration.  Patch by Richard Henderson.
-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;