gpt: switch partition names to a 16 bit type

In UEFI/GPT strings are UTF-16 so use a uint16 to make dealing with the
string practical.
This commit is contained in:
Michael Marineau 2014-11-27 14:54:27 -08:00
parent 13761c8675
commit daa4fbd477

View file

@ -92,7 +92,7 @@ struct grub_gpt_partentry
grub_uint64_t start; grub_uint64_t start;
grub_uint64_t end; grub_uint64_t end;
grub_uint64_t attrib; grub_uint64_t attrib;
char name[72]; grub_uint16_t name[36];
} GRUB_PACKED; } GRUB_PACKED;
enum grub_gpt_part_attr_offset enum grub_gpt_part_attr_offset