patch-2.1.127 linux/drivers/sbus/char/vfc_dev.c
Next file: linux/drivers/sbus/char/zs.c
Previous file: linux/drivers/sbus/char/sunserial.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Tue Oct 27 09:52:21 1998
- Orig file:
v2.1.126/linux/drivers/sbus/char/vfc_dev.c
- Orig date:
Mon Oct 5 13:13:40 1998
diff -u --recursive --new-file v2.1.126/linux/drivers/sbus/char/vfc_dev.c linux/drivers/sbus/char/vfc_dev.c
@@ -218,7 +218,7 @@
return -ENOMEM;
if(copy_from_user(buffer, inout.buffer,
- inout.len*sizeof(char));) {
+ inout.len*sizeof(char))) {
kfree_s(buffer,inout.len*sizeof(char));
return -EFAULT;
}
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov