* [PATCH] Small copy-paste typo in floppy.c
@ 2003-12-22 10:56 Juergen Quade
0 siblings, 0 replies; only message in thread
From: Juergen Quade @ 2003-12-22 10:56 UTC (permalink / raw)
To: torvalds; +Cc: linux-kernel
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;
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-12-22 10:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-22 10:56 [PATCH] Small copy-paste typo in floppy.c Juergen Quade
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox