summaryrefslogtreecommitdiff
path: root/cmd/gpt.c
diff options
context:
space:
mode:
authorVincent Tinelli <vincent.tinelli@intel.com>2017-02-27 16:11:15 +0200
committerTom Rini <trini@konsulko.com>2017-03-17 14:15:10 -0400
commit9da52f8f67b32a21a687602681f6b6b6b7df480b (patch)
treef57f6f72cd3ae43aedb6dc05a82ccf2b8a4e542e /cmd/gpt.c
parent2c79fd401982c7d6c5e77c09bc7035f8a3766c88 (diff)
gpt: Fix uuid string format
Change GPT UUID string format from UUID to GUID per specification. Signed-off-by: Vincent Tinelli <vincent.tinelli@intel.com> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'cmd/gpt.c')
-rw-r--r--cmd/gpt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/gpt.c b/cmd/gpt.c
index 196f506335..3e98821868 100644
--- a/cmd/gpt.c
+++ b/cmd/gpt.c
@@ -54,7 +54,7 @@ static int extract_env(const char *str, char **env)
if (e == NULL) {
#ifdef CONFIG_RANDOM_UUID
debug("%s unset. ", str);
- gen_rand_uuid_str(uuid_str, UUID_STR_FORMAT_STD);
+ gen_rand_uuid_str(uuid_str, UUID_STR_FORMAT_GUID);
setenv(s, uuid_str);
e = getenv(s);