diff options
Diffstat (limited to 'sys/compat/linux/common/linux_socket.c')
| -rw-r--r-- | sys/compat/linux/common/linux_socket.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/compat/linux/common/linux_socket.c b/sys/compat/linux/common/linux_socket.c index 15c00141fa9..5a169e3f5af 100644 --- a/sys/compat/linux/common/linux_socket.c +++ b/sys/compat/linux/common/linux_socket.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux_socket.c,v 1.62 2006/05/14 21:24:50 elad Exp $ */ +/* $NetBSD: linux_socket.c,v 1.63 2006/06/26 21:23:57 mrg Exp $ */ /*- * Copyright (c) 1995, 1998 The NetBSD Foundation, Inc. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.62 2006/05/14 21:24:50 elad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux_socket.c,v 1.63 2006/06/26 21:23:57 mrg Exp $"); #if defined(_KERNEL_OPT) #include "opt_inet.h" @@ -306,7 +306,7 @@ linux_sys_socket(l, v, retval) syscallarg(int) type; syscallarg(int) protocol; } */ *uap = v; - struct sys_socket_args bsa; + struct compat_30_sys_socket_args bsa; int error; SCARG(&bsa, protocol) = SCARG(uap, protocol); @@ -314,7 +314,7 @@ linux_sys_socket(l, v, retval) SCARG(&bsa, domain) = linux_to_bsd_domain(SCARG(uap, domain)); if (SCARG(&bsa, domain) == -1) return EINVAL; - error = sys_socket(l, &bsa, retval); + error = compat_30_sys_socket(l, &bsa, retval); #ifdef INET6 /* |
