disk: Update grub_gpt_partentry
Rename grub_gpt_part_type to grub_gpt_part_guid and update grub_gpt_partentry to use this type for both the partition type GUID string and the partition GUID string entries. This change ensures that the two GUID fields are handled more consistently and helps to simplify the changes needed to add Linux partition GUID support. Signed-off-by: Nicholas Vinson <nvinson234@gmail.com> Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
This commit is contained in:
parent
c2b86ae1fc
commit
a16f4a822f
4 changed files with 8 additions and 8 deletions
|
@ -714,7 +714,7 @@ is_prep_partition (grub_device_t dev)
|
|||
if (grub_disk_read (dev->disk, p->offset, p->index,
|
||||
sizeof (gptdata), &gptdata) == 0)
|
||||
{
|
||||
const grub_gpt_part_type_t template = {
|
||||
const grub_gpt_part_guid_t template = {
|
||||
grub_cpu_to_le32_compile_time (0x9e1a2d38),
|
||||
grub_cpu_to_le16_compile_time (0xc612),
|
||||
grub_cpu_to_le16_compile_time (0x4316),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue