~ubuntu-branches/ubuntu/wily/grub2/wily

« back to all changes in this revision

Viewing changes to grub-core/disk/raid5_recover.c

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2011-01-11 17:11:44 UTC
  • mto: (17.3.26 experimental)
  • mto: This revision was merged to the branch mainline in revision 60.
  • Revision ID: james.westby@ubuntu.com-20110111171144-o2h6luxzei5fivmf
Tags: upstream-1.99~20110111
ImportĀ upstreamĀ versionĀ 1.99~20110111

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
      if (i == disknr)
46
46
        continue;
47
47
 
48
 
      err = grub_disk_read (array->members[i].device, sector, 0, size, buf2);
 
48
      err = grub_disk_read (array->members[i].device,
 
49
                            array->members[i].start_sector + sector,
 
50
                            0, size, buf2);
49
51
 
50
52
      if (err)
51
53
        {