From db9b6200a4b38d0ca9e2c1aac6acaee671baff7d Mon Sep 17 00:00:00 2001 From: Alison Chaiken Date: Sun, 25 Jun 2017 16:43:17 -0700 Subject: EFI: replace number with UUID_STR_LEN macro Changes since v6: none. Signed-off-by: Alison Chaiken --- disk/part_efi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'disk') diff --git a/disk/part_efi.c b/disk/part_efi.c index 1b7ba27947..20d33ef275 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 */ -- cgit v1.2.3