[PATCH] uml: sparse cleanups
[linux-2.6.git] / arch / um / sys-i386 / syscalls.c
index 83e9be8..1845123 100644 (file)
@@ -104,7 +104,7 @@ long sys_ipc (uint call, int first, int second,
                union semun fourth;
                if (!ptr)
                        return -EINVAL;
-               if (get_user(fourth.__pad, (void **) ptr))
+               if (get_user(fourth.__pad, (void __user * __user *) ptr))
                        return -EFAULT;
                return sys_semctl (first, second, third, fourth);
        }