patch-2.4.22 linux-2.4.22/arch/mips64/lib/strncpy_user.S

Next file: linux-2.4.22/arch/mips64/lib/strnlen_user.S
Previous file: linux-2.4.22/arch/mips64/lib/strlen_user.S
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/arch/mips64/lib/strncpy_user.S linux-2.4.22/arch/mips64/lib/strncpy_user.S
@@ -30,7 +30,7 @@
 LEAF(__strncpy_from_user_asm)
 	ld	v0, THREAD_CURDS($28)		# pointer ok?
 	and	v0, a1
-	bltz	v0, fault
+	bnez	v0, fault
 
 FEXPORT(__strncpy_from_user_nocheck_asm)
 	move	v0, zero

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)