summaryrefslogtreecommitdiff
path: root/sys/compat/linux32/common/linux32_misc.c
diff options
context:
space:
mode:
authornjoly <njoly@NetBSD.org>2009-11-24 10:42:43 +0000
committernjoly <njoly@NetBSD.org>2009-11-24 10:42:43 +0000
commit675b20da1b7c5d65e9456ea4e5540018f58ce488 (patch)
tree6e1d34537c246065a441dfad5d14315fddfd6552 /sys/compat/linux32/common/linux32_misc.c
parent04fb2d7bab0547eb5da6aa7d1fc279de571079a0 (diff)
Update personality(2) to match Linux definition where the argument is an
unsigned long.
Diffstat (limited to 'sys/compat/linux32/common/linux32_misc.c')
-rw-r--r--sys/compat/linux32/common/linux32_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux32/common/linux32_misc.c b/sys/compat/linux32/common/linux32_misc.c
index 3fabede1dcb..73c82600442 100644
--- a/sys/compat/linux32/common/linux32_misc.c
+++ b/sys/compat/linux32/common/linux32_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux32_misc.c,v 1.17 2009/06/05 16:45:33 njoly Exp $ */
+/* $NetBSD: linux32_misc.c,v 1.18 2009/11/24 10:42:44 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999 The NetBSD Foundation, Inc.
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux32_misc.c,v 1.17 2009/06/05 16:45:33 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_misc.c,v 1.18 2009/11/24 10:42:44 njoly Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -174,7 +174,7 @@ int
linux32_sys_personality(struct lwp *l, const struct linux32_sys_personality_args *uap, register_t *retval)
{
/* {
- syscallarg(int) per;
+ syscallarg(netbsd32_u_long) per;
} */
switch (SCARG(uap, per)) {