diff options
Diffstat (limited to 'common/partitions/efi.c')
-rw-r--r-- | common/partitions/efi.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/common/partitions/efi.c b/common/partitions/efi.c index 61abf00050..a9945dd9eb 100644 --- a/common/partitions/efi.c +++ b/common/partitions/efi.c @@ -457,6 +457,7 @@ static void efi_partition(void *buf, struct block_device *blk, pentry->size = le64_to_cpu(ptes[i].ending_lba) - pentry->first_sec; pentry->size++; part_set_efi_name(&ptes[i], pentry->name); + snprintf(pentry->partuuid, sizeof(pentry->partuuid), "%pUl", &ptes[i].unique_partition_guid); pd->used_entries++; } |