mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
* grub-core/partmap/msdos.c (grub_partition_msdos_iterate):
Fix off by one error in enumerating extended partitions.
This commit is contained in:
1 parent
21aecde5f6
commit
df6da5a52d
2 files changed
+6
-1
No files matched your search
@@ -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++;
|
||||
|
||||
Reference in new issue
Block a user