summaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/syscall_kern.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/um/kernel/syscall_kern.c')
-rw-r--r--arch/um/kernel/syscall_kern.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/um/kernel/syscall_kern.c b/arch/um/kernel/syscall_kern.c
index 8e1a3501ff46..37d3978337d8 100644
--- a/arch/um/kernel/syscall_kern.c
+++ b/arch/um/kernel/syscall_kern.c
@@ -104,7 +104,7 @@ long sys_pipe(unsigned long __user * fildes)
}
-long sys_uname(struct old_utsname * name)
+long sys_uname(struct old_utsname __user * name)
{
long err;
if (!name)
@@ -115,7 +115,7 @@ long sys_uname(struct old_utsname * name)
return err?-EFAULT:0;
}
-long sys_olduname(struct oldold_utsname * name)
+long sys_olduname(struct oldold_utsname __user * name)
{
long error;
OpenPOWER on IntegriCloud