patch-2.4.2 linux/arch/s390/lib/strncpy.S
Next file: linux/arch/s390/lib/uaccess.S
Previous file: linux/arch/s390/lib/strcmp.S
Back to the patch index
Back to the overall index
-  Lines: 13
-  Date:
Tue Feb 13 14:13:44 2001
-  Orig file: 
v2.4.1/linux/arch/s390/lib/strncpy.S
-  Orig date: 
Fri May 12 11:41:45 2000
diff -u --recursive --new-file v2.4.1/linux/arch/s390/lib/strncpy.S linux/arch/s390/lib/strncpy.S
@@ -20,9 +20,9 @@
 	SR      0,0
 strncpy_loop:
         ICM     0,1,0(3)       # ICM sets the cc, IC does not
-	LA      3,1(0,3)
-        STC     0,0(0,1)
-	LA      1,1(0,1)
+	LA      3,1(3)
+        STC     0,0(1)
+	LA      1,1(1)
         JZ      strncpy_exit   # ICM inserted a 0x00
         BRCT    4,strncpy_loop # R4 -= 1, jump to strncpy_loop if >  0
 strncpy_exit:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)