From d6173baaaeec0ea9af68ae41c2bc0f30f77f0128 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 29 Jul 2008 00:25:12 +0000 Subject: [PATCH] * sysdeps/unix/sysv/linux/paccept.c: Fix compile problem. --- ChangeLog | 2 ++ sysdeps/unix/sysv/linux/paccept.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d4cccb6..e7d4aa9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2008-07-28 Ulrich Drepper + * 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 1817d38..cc2979c 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); -- 2.7.4