patch-2.1.26 linux/arch/alpha/lib/strncat.S

Next file: linux/arch/alpha/lib/strncpy_from_user.S
Previous file: linux/arch/alpha/lib/csum_partial_copy.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.25/linux/arch/alpha/lib/strncat.S linux/arch/alpha/lib/strncat.S
@@ -56,11 +56,11 @@
 
 	/* Worry about the null termination.  */
 
-	zapnot	$1, $22, $2	# was last byte a null?
+	zapnot	$1, $27, $2	# was last byte a null?
 	bne	$2, 0f
 	ret
 
-0:	cmplt	$22, $24, $2	# did we fill the buffer completely?
+0:	cmplt	$27, $24, $2	# did we fill the buffer completely?
 	or	$2, $18, $2
 	bne	$2, 2f
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov