[PATCH] Small copy-paste typo in floppy.c

Juergen Quade
2003-12-22T10:57:07Z

I just hit a copy-paste typo in floppy.c.

Juergen.

--- drivers/block/floppy.old.c 2003-12-22 11:42:42.000000000 +0100
+++ drivers/block/floppy.c 2003-12-22 11:44:00.000000000 +0100
@@ -2563,7 +2563,7 @@
current_count_sectors);
if (CT(COMMAND) == FD_READ)
printk("read\n");
- if (CT(COMMAND) == FD_READ)
+ if (CT(COMMAND) == FD_WRITE)
printk("write\n");
break;
}
@@ -2894,7 +2894,7 @@
current_count_sectors);
if (CT(COMMAND) == FD_READ)
printk("read\n");
- if (CT(COMMAND) == FD_READ)
+ if (CT(COMMAND) == FD_WRITE)
printk("write\n");
return 0;
}
--- drivers/block/floppy98.old.c 2003-12-22 11:42:51.000000000 +0100
+++ drivers/block/floppy98.c 2003-12-22 11:44:25.000000000 +0100
@@ -2594,7 +2594,7 @@
current_count_sectors);
if (CT(COMMAND) == FD_READ)
printk("read\n");
- if (CT(COMMAND) == FD_READ)
+ if (CT(COMMAND) == FD_WRITE)
printk("write\n");
break;
}
@@ -2925,7 +2925,7 @@
current_count_sectors);
if (CT(COMMAND) == FD_READ)
printk("read\n");
- if (CT(COMMAND) == FD_READ)
+ if (CT(COMMAND) == FD_WRITE)
printk("write\n");
return 0;
}