mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-15 19:51:37 +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…
Add table
Reference in a new issue