patch-2.1.4 linux/fs/proc/inode.c
Next file: linux/fs/proc/mem.c
Previous file: linux/fs/proc/array.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/inode.c
- Orig date:
Thu Apr 25 16:32:45 1996
diff -u --recursive --new-file v2.1.3/linux/fs/proc/inode.c linux/fs/proc/inode.c
@@ -126,7 +126,7 @@
tmp.f_files = 0;
tmp.f_ffree = 0;
tmp.f_namelen = NAME_MAX;
- memcpy_tofs(buf, &tmp, bufsiz);
+ copy_to_user(buf, &tmp, bufsiz);
}
void proc_read_inode(struct inode * inode)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov