mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-09-20 22:52:00 +00:00
cmd: tpm-v2: use correct format code
updates is defined as unsigned int. So use %u for printf(). Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
This commit is contained in:
parent
c6b2ea379c
commit
1d1af2ae5a
1 changed files with 1 additions and 1 deletions
|
@ -151,7 +151,7 @@ static int do_tpm_pcr_read(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||
|
||||
rc = tpm2_pcr_read(dev, index, priv->pcr_select_min, data, &updates);
|
||||
if (!rc) {
|
||||
printf("PCR #%u content (%d known updates):\n", index, updates);
|
||||
printf("PCR #%u content (%u known updates):\n", index, updates);
|
||||
print_byte_string(data, TPM2_DIGEST_LEN);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue