* 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-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
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.");