commit
ad906495e1
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ grub_tpm_measure (unsigned char *buf, grub_size_t size, grub_uint8_t pcr,
|
|||
char *desc = grub_xasprintf("%s %s", kind, description);
|
||||
if (!desc)
|
||||
return GRUB_ERR_OUT_OF_MEMORY;
|
||||
ret = grub_tpm_log_event(buf, size, pcr, description);
|
||||
ret = grub_tpm_log_event(buf, size, pcr, desc);
|
||||
grub_free(desc);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue