patch-2.4.0-test7 linux/lib/string.c

Next file: linux/mm/filemap.c
Previous file: linux/lib/cmdline.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.0-test6/linux/lib/string.c linux/lib/string.c
@@ -250,7 +250,7 @@
 	
 	*s = strpbrk( sbegin, ct);
 	if (*s && **s != '\0')
-		**s++ = '\0';
+		*(*s)++ = '\0';
 	return (sbegin);
 }
 #endif

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