Merge to Fedora Core 2 kernel-2.6.8-1.521
[linux-2.6.git] / arch / arm / kernel / sys_arm.c
index 79acdd1..fb26b3b 100644 (file)
@@ -178,7 +178,7 @@ asmlinkage int sys_ipc(uint call, int first, int second, int third,
                union semun fourth;
                if (!ptr)
                        return -EINVAL;
-               if (get_user(fourth.__pad, (void __user **) ptr))
+               if (get_user(fourth.__pad, (void __user * __user *) ptr))
                        return -EFAULT;
                return sys_semctl (first, second, third, fourth);
        }