Multiple bugs correction for Reed-Solomon

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-09-25 20:40:26 +02:00
parent 419cbeb06d
commit 3ac9e79207
5 changed files with 28 additions and 18 deletions

View file

@ -438,7 +438,7 @@ setup (const char *dir,
0, GRUB_DISK_SECTOR_SIZE);
block = first_block;
for (i = 1; i < core_sectors; i++)
for (i = 1; i < nsec; i++)
save_blocklists (sectors[i] + grub_partition_get_start (container),
0, GRUB_DISK_SECTOR_SIZE);