patch-1.3.4 linux/fs/proc/array.c
Next file: linux/fs/proc/inode.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Jun 26 11:06:52 1995
- Orig file:
v1.3.3/linux/fs/proc/array.c
- Orig date:
Fri Jun 2 14:21:40 1995
diff -u --recursive --new-file v1.3.3/linux/fs/proc/array.c linux/fs/proc/array.c
@@ -87,7 +87,7 @@
}
while (p < 2*PAGE_SIZE && count > 0) {
- put_fs_byte(0,buf);
+ put_user(0,buf);
buf++;
p++;
count--;
@@ -135,7 +135,7 @@
read = 0;
while (p < sizeof(unsigned long) && count > 0) {
- put_fs_byte(*((char *)(&sample_step)+p),buf);
+ put_user(*((char *)(&sample_step)+p),buf);
buf++; p++; count--; read++;
}
pnt = (char *)prof_buffer + p - sizeof(unsigned long);
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