patch-2.1.4 linux/fs/proc/net.c
Next file: linux/fs/proc/root.c
Previous file: linux/fs/proc/mem.c
Back to the patch index
Back to the overall index
-  Lines: 9
-  Date:
Sun Oct 13 21:11:19 1996
-  Orig file: 
v2.1.3/linux/fs/proc/net.c
-  Orig date: 
Sat Sep 28 23:32:17 1996
diff -u --recursive --new-file v2.1.3/linux/fs/proc/net.c linux/fs/proc/net.c
@@ -72,7 +72,7 @@
 		/*
  		 *	Copy the bytes
 		 */
-		memcpy_tofs(buf+copied, start, length);
+		copy_to_user(buf+copied, start, length);
 		file->f_pos += length;	/* Move down the file */
 		bytes  -= length;
 		copied += length;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov