summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authordchagin <dchagin@FreeBSD.org>2009-06-01 20:54:41 +0000
committerdchagin <dchagin@FreeBSD.org>2009-06-01 20:54:41 +0000
commit8e9d8c289c626522729c4d78e2db40ec72ff1237 (patch)
tree7b375f640f3c536145cf9d9d08dc661fa3a4dc15 /sys/compat
parentbb8f1f3e67af8643881e71a4d80d6580ba2aa43a (diff)
downloadFreeBSD-src-8e9d8c289c626522729c4d78e2db40ec72ff1237.zip
FreeBSD-src-8e9d8c289c626522729c4d78e2db40ec72ff1237.tar.gz
Add forgotten in previous commit flags argument.
Approved by: kib (mentor) MFC after: 1 month
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/linux/linux_socket.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/linux/linux_socket.c b/sys/compat/linux/linux_socket.c
index cb7e0f8..45a1d53 100644
--- a/sys/compat/linux/linux_socket.c
+++ b/sys/compat/linux/linux_socket.c
@@ -765,7 +765,7 @@ linux_listen(struct thread *td, struct linux_listen_args *args)
static int
linux_accept_common(struct thread *td, int s, l_uintptr_t addr,
- l_uintptr_t namelen)
+ l_uintptr_t namelen, int flags)
{
struct accept_args /* {
int s;
@@ -822,7 +822,7 @@ linux_accept(struct thread *td, struct linux_accept_args *args)
{
return (linux_accept_common(td, args->s, args->addr,
- args->namelen));
+ args->namelen, 0));
}
struct linux_accept4_args {
OpenPOWER on IntegriCloud