patch-2.4.21 linux-2.4.21/drivers/media/video/w9966.c

Next file: linux-2.4.21/drivers/media/video/zoran_procfs.c
Previous file: linux-2.4.21/drivers/media/video/videodev.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/drivers/media/video/w9966.c linux-2.4.21/drivers/media/video/w9966.c
@@ -931,7 +931,7 @@
 		if(copy_from_user(&vtune, arg, sizeof(vtune)) != 0)
 			return -EFAULT;
 
-		if(vtune.tuner != 0);
+		if(vtune.tuner != 0)
 			return -EINVAL;
 
 		strcpy(vtune.name, "no tuner");

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)