Commit 06004ee5 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

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

From: Juergen Quade <quade@hsnr.de>

I just hit a copy-paste typo in floppy.c.
parent 25ceff8c
......@@ -2563,7 +2563,7 @@ static void copy_buffer(int ssize, int max_sector, int max_sector_2)
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 @@ static int make_raw_rw_request(void)
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;
}
......
......@@ -2594,7 +2594,7 @@ static void copy_buffer(int ssize, int max_sector, int max_sector_2)
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 @@ static int make_raw_rw_request(void)
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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment