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

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