commit | e26b6857d2228b0f113f0e6bd1385acf25baa4fd | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Fri Nov 23 21:29:35 2018 -0700 |
committer | Simon Glass <sjg@chromium.org> | Wed Dec 05 06:01:34 2018 -0700 |
tree | 561800887aaaa9463545780e28bee73a364da089 | |
parent | b4ebd1f7187f544e0c953994957bba7af5ba620c [diff] |
tpm: Fix a logging warning in unpack_byte_string() Fix the printf() string to avoid a warning. Signed-off-by: Simon Glass <sjg@chromium.org>
diff --git a/lib/tpm-common.c b/lib/tpm-common.c index 2bf0b41..86b4f41 100644 --- a/lib/tpm-common.c +++ b/lib/tpm-common.c
@@ -119,7 +119,7 @@ if (offset + length > size) { va_end(args); - log_err("Failed to read: size=%d, offset=%x, len=%x\n", + log_err("Failed to read: size=%zd, offset=%zx, len=%zx\n", size, offset, length); return -1; }