summaryrefslogtreecommitdiff
path: root/sys/compat/linux/common/linux_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/linux/common/linux_misc.c
parent04fb2d7bab0547eb5da6aa7d1fc279de571079a0 (diff)
Update personality(2) to match Linux definition where the argument is an
unsigned long.
Diffstat (limited to 'sys/compat/linux/common/linux_misc.c')
-rw-r--r--sys/compat/linux/common/linux_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/compat/linux/common/linux_misc.c b/sys/compat/linux/common/linux_misc.c
index 932bd2ff18b..0793cff65ae 100644
--- a/sys/compat/linux/common/linux_misc.c
+++ b/sys/compat/linux/common/linux_misc.c
@@ -1,4 +1,4 @@
-/* $NetBSD: linux_misc.c,v 1.211 2009/11/11 09:48:50 rmind Exp $ */
+/* $NetBSD: linux_misc.c,v 1.212 2009/11/24 10:42:44 njoly Exp $ */
/*-
* Copyright (c) 1995, 1998, 1999, 2008 The NetBSD Foundation, Inc.
@@ -57,7 +57,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.211 2009/11/11 09:48:50 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux_misc.c,v 1.212 2009/11/24 10:42:44 njoly Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -931,7 +931,7 @@ int
linux_sys_personality(struct lwp *l, const struct linux_sys_personality_args *uap, register_t *retval)
{
/* {
- syscallarg(int) per;
+ syscallarg(unsigned long) per;
} */
switch (SCARG(uap, per)) {