diff options
author | Alison Chaiken <alison@peloton-tech.com> | 2017-06-25 16:43:17 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-04 09:55:29 -0400 |
commit | db9b6200a4b38d0ca9e2c1aac6acaee671baff7d (patch) | |
tree | 7572254b0222d27b921f597cb7ba1eb8965bb58b /disk | |
parent | fe84c48eeb8e9cb0b8b80a4c0a53bb089adff9af (diff) | |
download | u-boot-db9b6200a4b38d0ca9e2c1aac6acaee671baff7d.zip u-boot-db9b6200a4b38d0ca9e2c1aac6acaee671baff7d.tar.gz u-boot-db9b6200a4b38d0ca9e2c1aac6acaee671baff7d.tar.bz2 |
EFI: replace number with UUID_STR_LEN macro
Changes since v6: none.
Signed-off-by: Alison Chaiken <alison@peloton-tech.com>
Diffstat (limited to 'disk')
-rw-r--r-- | disk/part_efi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/disk/part_efi.c b/disk/part_efi.c index 1b7ba27..20d33ef 100644 --- a/disk/part_efi.c +++ b/disk/part_efi.c @@ -183,7 +183,7 @@ void part_print_efi(struct blk_desc *dev_desc) ALLOC_CACHE_ALIGN_BUFFER_PAD(gpt_header, gpt_head, 1, dev_desc->blksz); gpt_entry *gpt_pte = NULL; int i = 0; - char uuid[37]; + char uuid[UUID_STR_LEN + 1]; unsigned char *uuid_bin; /* This function validates AND fills in the GPT header and PTE */ |