mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-20 22:48:22 +00:00
2005-07-19 Yoshinori K. Okuji <okuji@enbug.org>
* partmap/apple.c (apple_partition_map_iterate): Check if POS equals GRUB_DISK_SECTOR_SIZE to see if the partition table is valid.
This commit is contained in:
1 parent
5f3607e09d
commit
b28b81b256
2 files changed
+7
-1
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2005-07-19 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* partmap/apple.c (apple_partition_map_iterate): Check if POS
|
||||
equals GRUB_DISK_SECTOR_SIZE to see if the partition table is
|
||||
valid.
|
||||
|
||||
2005-07-18 Yoshinori K. Okuji <okuji@enbug.org>
|
||||
|
||||
* commands/ls.c (grub_ls_list_disks): Print the filesystem
|
||||
|
||||
+1
-1
@@ -144,7 +144,7 @@ apple_partition_map_iterate (grub_disk_t disk,
|
||||
partno++;
|
||||
}
|
||||
|
||||
if ((pos / GRUB_DISK_SECTOR_SIZE) == 0)
|
||||
if (pos == GRUB_DISK_SECTOR_SIZE)
|
||||
return grub_error (GRUB_ERR_BAD_PART_TABLE,
|
||||
"Apple partition map not found.");
|
||||
|
||||
|
||||
Reference in new issue
Block a user