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:
parent
13761c8675
commit
daa4fbd477
1 changed files with 1 additions and 1 deletions
|
@ -92,7 +92,7 @@ struct grub_gpt_partentry
|
|||
grub_uint64_t start;
|
||||
grub_uint64_t end;
|
||||
grub_uint64_t attrib;
|
||||
char name[72];
|
||||
grub_uint16_t name[36];
|
||||
} GRUB_PACKED;
|
||||
|
||||
enum grub_gpt_part_attr_offset
|
||||
|
|
Loading…
Reference in a new issue