aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/ide/ide-cd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-cd.c b/drivers/ide/ide-cd.c
index c859eafe759b..978e1c0c1722 100644
--- a/drivers/ide/ide-cd.c
+++ b/drivers/ide/ide-cd.c
@@ -1083,7 +1083,7 @@ out_end:
1083 rq->errors = -EIO; 1083 rq->errors = -EIO;
1084 } 1084 }
1085 1085
1086 nsectors = rq->hard_cur_sectors; 1086 nsectors = rq->hard_nr_sectors;
1087 1087
1088 if (nsectors == 0) 1088 if (nsectors == 0)
1089 nsectors = 1; 1089 nsectors = 1;