patch-2.3.29 linux/drivers/block/floppy.c

Next file: linux/drivers/block/ide-cd.c
Previous file: linux/drivers/block/alim15x3.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.28/linux/drivers/block/floppy.c linux/drivers/block/floppy.c
@@ -1167,7 +1167,7 @@
 /* gets the response from the fdc */
 static int result(void)
 {
-	int i, status;
+	int i, status=0;
 
 	for(i=0; i < MAX_REPLIES; i++) {
 		if ((status = wait_til_ready()) < 0)

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