aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2008-07-29 00:25:12 +0000
committerUlrich Drepper <drepper@redhat.com>2008-07-29 00:25:12 +0000
commitd6173baaaeec0ea9af68ae41c2bc0f30f77f0128 (patch)
treeabdd8abd06bf60704d846c51140014d9e3458e09
parentb7da31a1647e378258174d1d69097a594e31f89b (diff)
downloadglibc-d6173baaaeec0ea9af68ae41c2bc0f30f77f0128.tar
glibc-d6173baaaeec0ea9af68ae41c2bc0f30f77f0128.tar.gz
glibc-d6173baaaeec0ea9af68ae41c2bc0f30f77f0128.tar.bz2
glibc-d6173baaaeec0ea9af68ae41c2bc0f30f77f0128.zip
* sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
-rw-r--r--ChangeLog2
-rw-r--r--sysdeps/unix/sysv/linux/paccept.c4
2 files changed, 4 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d4cccb6837..e7d4aa9b38 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2008-07-28 Ulrich Drepper <drepper@redhat.com>
+ * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem.
+
* resolv/res_send.c (__libc_res_nsend): Take additional parameter.
Use it instead of locally defined resplen2 variable.
(res_nsend): Adjust for __libc_res_nsend interface change.
diff --git a/sysdeps/unix/sysv/linux/paccept.c b/sysdeps/unix/sysv/linux/paccept.c
index 1817d381d9..cc2979c0ed 100644
--- a/sysdeps/unix/sysv/linux/paccept.c
+++ b/sysdeps/unix/sysv/linux/paccept.c
@@ -30,12 +30,12 @@ paccept (int fd, __SOCKADDR_ARG addr, socklen_t *addr_len,
const __sigset_t *ss, int flags)
{
if (SINGLE_THREAD_P)
- return INLINE_SYSCALL (paccept, 6, fd, addr, addr_len, ss,
+ return INLINE_SYSCALL (paccept, 6, fd, addr.__sockaddr__, addr_len, ss,
_NSIG / 8, flags);
int oldtype = LIBC_CANCEL_ASYNC ();
- int result = INLINE_SYSCALL (paccept, 6, fd, addr, addr_len, ss,
+ int result = INLINE_SYSCALL (paccept, 6, fd, addr.__sockaddr__, addr_len, ss,
_NSIG / 8, flags);
LIBC_CANCEL_RESET (oldtype);