ChangeSet 1.2181.30.2, 2005/03/21 09:56:38-08:00, [EMAIL PROTECTED]

        [SPARC64]: Fix fifth arg pointer check for SEMTIMEDOP.
        
        Noticed by Anton Blanchard.
        
        Signed-off-by: David S. Miller <[EMAIL PROTECTED]>



 sys_sparc32.c |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)


diff -Nru a/arch/sparc64/kernel/sys_sparc32.c 
b/arch/sparc64/kernel/sys_sparc32.c
--- a/arch/sparc64/kernel/sys_sparc32.c 2005-04-03 21:11:13 -07:00
+++ b/arch/sparc64/kernel/sys_sparc32.c 2005-04-03 21:11:13 -07:00
@@ -264,7 +264,7 @@
 
        switch (call) {
        case SEMTIMEDOP:
-               if (third)
+               if (fifth)
                        /* sign extend semid */
                        return compat_sys_semtimedop((int)first,
                                                     compat_ptr(ptr), second,
-
To unsubscribe from this list: send the line "unsubscribe bk-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to