diff options
Diffstat (limited to 'arch/mips/kernel/syscall.c')
-rw-r--r-- | arch/mips/kernel/syscall.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/mips/kernel/syscall.c b/arch/mips/kernel/syscall.c index 1da2eeb3ef9e..55f2bc09529c 100644 --- a/arch/mips/kernel/syscall.c +++ b/arch/mips/kernel/syscall.c | |||
@@ -345,7 +345,7 @@ asmlinkage int sys_ipc (uint call, int first, int second, | |||
345 | union semun fourth; | 345 | union semun fourth; |
346 | if (!ptr) | 346 | if (!ptr) |
347 | return -EINVAL; | 347 | return -EINVAL; |
348 | if (get_user(fourth.__pad, (void *__user *) ptr)) | 348 | if (get_user(fourth.__pad, (void __user *__user *) ptr)) |
349 | return -EFAULT; | 349 | return -EFAULT; |
350 | return sys_semctl (first, second, third, fourth); | 350 | return sys_semctl (first, second, third, fourth); |
351 | } | 351 | } |