aboutsummaryrefslogtreecommitdiffstats
path: root/block/partitions/efi.c
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2014-12-18 10:02:17 -0500
committerRicardo Neri <ricardo.neri-calderon@linux.intel.com>2015-01-07 22:07:44 -0500
commit26e022727f5e88c6e5054e14d954425deacbe56a (patch)
treeb57dfabd52def943ad99e0c0b1a34c3cdca58971 /block/partitions/efi.c
parent0e4ca02b3fc0e33e96eef1f4da227eab2c67b8ac (diff)
efi: Rename efi_guid_unparse to efi_guid_to_str
Call it what it does - "unparse" is plain-misleading. Signed-off-by: Borislav Petkov <bp@suse.de> Signed-off-by: Ricardo Neri <ricardo.neri-calderon@linux.intel.com>
Diffstat (limited to 'block/partitions/efi.c')
-rw-r--r--block/partitions/efi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/block/partitions/efi.c b/block/partitions/efi.c
index 56d08fd75b1a..26cb624ace05 100644
--- a/block/partitions/efi.c
+++ b/block/partitions/efi.c
@@ -715,7 +715,7 @@ int efi_partition(struct parsed_partitions *state)
715 state->parts[i + 1].flags = ADDPART_FLAG_RAID; 715 state->parts[i + 1].flags = ADDPART_FLAG_RAID;
716 716
717 info = &state->parts[i + 1].info; 717 info = &state->parts[i + 1].info;
718 efi_guid_unparse(&ptes[i].unique_partition_guid, info->uuid); 718 efi_guid_to_str(&ptes[i].unique_partition_guid, info->uuid);
719 719
720 /* Naively convert UTF16-LE to 7 bits. */ 720 /* Naively convert UTF16-LE to 7 bits. */
721 label_max = min(ARRAY_SIZE(info->volname) - 1, 721 label_max = min(ARRAY_SIZE(info->volname) - 1,