patch-1.3.4 linux/mm/vmalloc.c
Next file: linux/net/appletalk/ddp.c
Previous file: linux/mm/swap.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Jun 26 11:06:53 1995
-  Orig file: 
v1.3.3/linux/mm/vmalloc.c
-  Orig date: 
Tue May 30 12:17:18 1995
diff -u --recursive --new-file v1.3.3/linux/mm/vmalloc.c linux/mm/vmalloc.c
@@ -228,7 +228,7 @@
 		while (addr < vaddr) {
 			if (count == 0)
 				goto finished;
-			put_fs_byte('\0', buf++), addr++, count--;
+			put_user('\0', buf++), addr++, count--;
 		}
 		n = tmp->size - PAGE_SIZE;
 		if (addr > vaddr)
@@ -236,7 +236,7 @@
 		while (--n >= 0) {
 			if (count == 0)
 				goto finished;
-			put_fs_byte(*addr++, buf++), count--;
+			put_user(*addr++, buf++), count--;
 		}
 	}
 finished:
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this