summaryrefslogtreecommitdiff
path: root/sys/compat/linux32
diff options
context:
space:
mode:
authordholland <dholland@NetBSD.org>2017-04-10 15:04:32 +0000
committerdholland <dholland@NetBSD.org>2017-04-10 15:04:32 +0000
commitc8b4ff45448450c782cf9ecf6c182896c8a2bcf9 (patch)
tree73490fcdf90169ff87c682aba5678c6bd4b82b78 /sys/compat/linux32
parent4bfb38f49b5010390e935eb94706557fd7b4e6c0 (diff)
Return value pointers should be the last argument.
Diffstat (limited to 'sys/compat/linux32')
-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 50daace38e5..4fa4df93bea 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.25 2014/11/22 13:12:22 njoly Exp $ */
+/* $NetBSD: linux32_misc.c,v 1.26 2017/04/10 15:04:32 dholland 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.25 2014/11/22 13:12:22 njoly Exp $");
+__KERNEL_RCSID(0, "$NetBSD: linux32_misc.c,v 1.26 2017/04/10 15:04:32 dholland Exp $");
#include <sys/param.h>
#include <sys/proc.h>
@@ -262,7 +262,7 @@ linux32_sys_futex(struct lwp *l,
}
linux32_to_native_timespec(&ts, &lts);
}
- return linux_do_futex(l, &ua, retval, &ts);
+ return linux_do_futex(l, &ua, &ts, retval);
}
int