* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
Fix off by one error in enumerating extended partitions.
This commit is contained in:
parent
21aecde5f6
commit
df6da5a52d
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2012-02-27 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
|
||||
Fix off by one error in enumerating extended partitions.
|
||||
|
||||
2013-02-26 Andrey Borzenkov <arvidjaar@gmail.com>
|
||||
|
||||
* grub-core/disk/efi/efidisk.c(grub_efidisk_get_device_name): Fix
|
||||
|
|
|
@ -196,7 +196,7 @@ grub_partition_msdos_iterate (grub_disk_t disk,
|
|||
if (hook (disk, &p, hook_data))
|
||||
return grub_errno;
|
||||
}
|
||||
else if (p.number < 4)
|
||||
else if (p.number < 3)
|
||||
/* If this partition is a logical one, shouldn't increase the
|
||||
partition number. */
|
||||
p.number++;
|
||||
|
|
Loading…
Reference in a new issue