diff options
| author | christos <christos@NetBSD.org> | 2017-02-09 22:01:48 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2017-02-09 22:01:48 +0000 |
| commit | 1404e1d2270640c91b975077027a5d3cd947d760 (patch) | |
| tree | 9c865a0ce6e5f11f937976739fec40fce52a6853 /sys/compat/linux/common/linux_socketcall.c | |
| parent | 56ea140cf9698b7f8a6c91fde6f5f1919ec0cea9 (diff) | |
use proper arg functions, remove bogus ones.
Diffstat (limited to 'sys/compat/linux/common/linux_socketcall.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socketcall.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_socketcall.c b/sys/compat/linux/common/linux_socketcall.c index d983420628f..01634e2ed32 100644 --- a/sys/compat/linux/common/linux_socketcall.c +++ b/sys/compat/linux/common/linux_socketcall.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socketcall.c,v 1.47 2017/02/03 16:57:39 christos Exp $ */ +/* $NetBSD: linux_socketcall.c,v 1.48 2017/02/09 22:01:48 christos Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -30,7 +30,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.47 2017/02/03 16:57:39 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socketcall.c,v 1.48 2017/02/09 22:01:48 christos Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -93,7 +93,7 @@ static const struct { {L("socket"), sizeof(struct linux_sys_socket_args)}, /* 1 */ {L("bind"), sizeof(struct linux_sys_bind_args)}, /* 2 */ {L("connect"), sizeof(struct linux_sys_connect_args)}, /* 3 */ - {L("listen"), sizeof(struct linux_sys_listen_args)}, /* 4 */ + {L("listen"), sizeof(struct sys_listen_args)}, /* 4 */ {L("accept"), sizeof(struct linux_sys_accept_args)}, /* 5 */ {L("getsockname"),sizeof(struct linux_sys_getsockname_args)}, /* 6 */ {L("getpeername"),sizeof(struct linux_sys_getpeername_args)}, /* 7 */ @@ -102,7 +102,7 @@ static const struct { {L("recv"), sizeof(struct linux_sys_recv_args)}, /* 10 */ {L("sendto"), sizeof(struct linux_sys_sendto_args)}, /* 11 */ {L("recvfrom"), sizeof(struct linux_sys_recvfrom_args)}, /* 12 */ - {L("shutdown"), sizeof(struct linux_sys_shutdown_args)}, /* 13 */ + {L("shutdown"), sizeof(struct sys_shutdown_args)}, /* 13 */ {L("setsockopt"),sizeof(struct linux_sys_setsockopt_args)}, /* 14 */ {L("getsockopt"),sizeof(struct linux_sys_getsockopt_args)}, /* 15 */ {L("sendmsg"), sizeof(struct linux_sys_sendmsg_args)}, /* 16 */ |
