projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge git://git.denx.de/u-boot-fsl-qoriq
[oweals/u-boot.git]
/
cmd
/
gpt.c
diff --git
a/cmd/gpt.c
b/cmd/gpt.c
index 9e04affc069429d716b8506b769c66a149af2cf0..27dd98755a2f9c108be408bf9e3d05407eb88ee6 100644
(file)
--- a/
cmd/gpt.c
+++ b/
cmd/gpt.c
@@
-402,7
+402,7
@@
static int set_gpt_info(struct blk_desc *dev_desc,
if (!val) {
#ifdef CONFIG_RANDOM_UUID
*str_disk_guid = malloc(UUID_STR_LEN + 1);
- if (str_disk_guid == NULL)
+ if (
*
str_disk_guid == NULL)
return -ENOMEM;
gen_rand_uuid_str(*str_disk_guid, UUID_STR_FORMAT_STD);
#else