diff options
Diffstat (limited to 'arch/um/sys-i386/syscalls.c')
-rw-r--r-- | arch/um/sys-i386/syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/sys-i386/syscalls.c b/arch/um/sys-i386/syscalls.c index 83e9be820a86..1845123ed124 100644 --- a/arch/um/sys-i386/syscalls.c +++ b/arch/um/sys-i386/syscalls.c | |||
@@ -104,7 +104,7 @@ long sys_ipc (uint call, int first, int second, | |||
104 | union semun fourth; | 104 | union semun fourth; |
105 | if (!ptr) | 105 | if (!ptr) |
106 | return -EINVAL; | 106 | return -EINVAL; |
107 | if (get_user(fourth.__pad, (void **) ptr)) | 107 | if (get_user(fourth.__pad, (void __user * __user *) ptr)) |
108 | return -EFAULT; | 108 | return -EFAULT; |
109 | return sys_semctl (first, second, third, fourth); | 109 | return sys_semctl (first, second, third, fourth); |
110 | } | 110 | } |