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

Next file: linux/drivers/char/scc.h
Previous file: linux/drivers/char/generic_serial.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.41/linux/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)