patch-2.1.4 linux/kernel/info.c
Next file: linux/kernel/itimer.c
Previous file: linux/ipc/shm.c
Back to the patch index
Back to the overall index
- Lines: 8
- Date:
Sun Oct 13 21:11:25 1996
- Orig file:
v2.1.3/linux/kernel/info.c
- Orig date:
Tue Jan 9 20:41:30 1996
diff -u --recursive --new-file v2.1.3/linux/kernel/info.c linux/kernel/info.c
@@ -36,6 +36,6 @@
si_meminfo(&val);
si_swapinfo(&val);
- memcpy_tofs(info, &val, sizeof(struct sysinfo));
+ copy_to_user(info, &val, sizeof(struct sysinfo));
return 0;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov