diff options
| author | dsl <dsl@NetBSD.org> | 2007-03-18 21:38:32 +0000 |
|---|---|---|
| committer | dsl <dsl@NetBSD.org> | 2007-03-18 21:38:32 +0000 |
| commit | d364d308c783cef134982fd0cf60ebaf08c2737b (patch) | |
| tree | 210936e0f23bc17c0d91fa1d29972f3f25292cbd /sys/compat/linux32/common/linux32_sysctl.c | |
| parent | cafee584b5d6ea1fd118d4b9db1d2ce28863e895 (diff) | |
Change all the NETBSD32PTR64(SCARG(uap, xxx))) to SCARG_P32(uap, xxx).
Diffstat (limited to 'sys/compat/linux32/common/linux32_sysctl.c')
| -rw-r--r-- | sys/compat/linux32/common/linux32_sysctl.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/compat/linux32/common/linux32_sysctl.c b/sys/compat/linux32/common/linux32_sysctl.c index 70648915c14..210ebcbd3f3 100644 --- a/sys/compat/linux32/common/linux32_sysctl.c +++ b/sys/compat/linux32/common/linux32_sysctl.c @@ -1,4 +1,4 @@ -/* $NetBSD: linux32_sysctl.c,v 1.4 2007/02/09 21:55:21 ad Exp $ */ +/* $NetBSD: linux32_sysctl.c,v 1.5 2007/03/18 21:38:32 dsl Exp $ */ /*- * Copyright (c) 2006 Emmanuel Dreyfus, all rights reserved. @@ -31,7 +31,7 @@ * POSSIBILITY OF SUCH DAMAGE. */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.4 2007/02/09 21:55:21 ad Exp $"); +__KERNEL_RCSID(0, "$NetBSD: linux32_sysctl.c,v 1.5 2007/03/18 21:38:32 dsl Exp $"); #include "opt_ktrace.h" @@ -168,8 +168,7 @@ linux32_sys___sysctl(l, v, retval) /* * Read sysctl arguments */ - if ((error = copyin(NETBSD32PTR64(SCARG(uap, lsp)), - &ls32, sizeof(ls32))) != 0) + if ((error = copyin(SCARG_P32(uap, lsp), &ls32, sizeof(ls32))) != 0) return error; /* |
