Merge pull request #25 from mjg59/tpm

Fix event log prefix
This commit is contained in:
mjg59 2016-03-29 21:29:47 -07:00
commit ad906495e1

View file

@ -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;
}