diff options
Diffstat (limited to 'drivers/ide/ide-floppy.c')
-rw-r--r-- | drivers/ide/ide-floppy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-floppy.c b/drivers/ide/ide-floppy.c index 67f93a46f510..59baa9643f8b 100644 --- a/drivers/ide/ide-floppy.c +++ b/drivers/ide/ide-floppy.c | |||
@@ -945,7 +945,7 @@ static int idefloppy_get_format_progress(ide_drive_t *drive, int __user *arg) | |||
945 | stat = hwif->tp_ops->read_status(hwif); | 945 | stat = hwif->tp_ops->read_status(hwif); |
946 | local_irq_restore(flags); | 946 | local_irq_restore(flags); |
947 | 947 | ||
948 | progress_indication = ((stat & SEEK_STAT) == 0) ? 0 : 0x10000; | 948 | progress_indication = ((stat & ATA_DSC) == 0) ? 0 : 0x10000; |
949 | } | 949 | } |
950 | if (put_user(progress_indication, arg)) | 950 | if (put_user(progress_indication, arg)) |
951 | return (-EFAULT); | 951 | return (-EFAULT); |