2008-03-29 03:11:29

by Al Viro

[permalink] [raw]
Subject: [PATCH] compat_sys_wait4() prototype misannotation


Signed-off-by: Al Viro <[email protected]>
---
include/linux/compat.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/compat.h b/include/linux/compat.h
index a671dbf..8fa7857 100644
--- a/include/linux/compat.h
+++ b/include/linux/compat.h
@@ -192,8 +192,8 @@ asmlinkage long compat_sys_select(int n, compat_ulong_t __user *inp,
struct compat_timeval __user *tvp);

asmlinkage long compat_sys_wait4(compat_pid_t pid,
- compat_uint_t *stat_addr, int options,
- struct compat_rusage *ru);
+ compat_uint_t __user *stat_addr, int options,
+ struct compat_rusage __user *ru);

#define BITS_PER_COMPAT_LONG (8*sizeof(compat_long_t))

--
1.5.3.GIT