patch-2.2.15 linux/drivers/char/joystick/joy-creative.c

Next file: linux/drivers/char/misc.c
Previous file: linux/drivers/char/istallion.c
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from ../../exclude v2.2.14/drivers/char/joystick/joy-creative.c linux/drivers/char/joystick/joy-creative.c
@@ -66,7 +66,7 @@
 	int r[2], t[2], p[2];
 	int i, j, ret;
 
-	for (i = 0; i < 2; i++); {
+	for (i = 0; i < 2; i++) {
 		r[i] = buf[i] = 0;
 		p[i] = t[i] = JS_CR_MAX_STROBE;
 		p[i] += JS_CR_MAX_STROBE;

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