diff options
| author | dholland <dholland@NetBSD.org> | 2017-04-10 15:04:32 +0000 |
|---|---|---|
| committer | dholland <dholland@NetBSD.org> | 2017-04-10 15:04:32 +0000 |
| commit | c8b4ff45448450c782cf9ecf6c182896c8a2bcf9 (patch) | |
| tree | 73490fcdf90169ff87c682aba5678c6bd4b82b78 /sys/compat/linux32 | |
| parent | 4bfb38f49b5010390e935eb94706557fd7b4e6c0 (diff) | |
Return value pointers should be the last argument.
Diffstat (limited to 'sys/compat/linux32')
| -rw-r--r-- | sys/compat/linux32/common/linux32_misc.c | 6 |
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, <s); } - return linux_do_futex(l, &ua, retval, &ts); + return linux_do_futex(l, &ua, &ts, retval); } int |
