Message ID | 20181124042944.239106-13-sjg@chromium.org |
---|---|
State | Accepted |
Commit | 5092af6b571c883c49da2b6df7419d73874cdba4 |
Delegated to: | Simon Glass |
Headers | show |
Series | Various patches for verified boot support | expand |
Fix the printf() string to avoid a warning.
Signed-off-by: Simon Glass <sjg@chromium.org>
---
lib/tpm-common.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Applied to u-boot-dm/master, thanks!
diff --git a/lib/tpm-common.c b/lib/tpm-common.c index 2bf0b41e26f..86b4f413c2e 100644 --- a/lib/tpm-common.c +++ b/lib/tpm-common.c @@ -119,7 +119,7 @@ int unpack_byte_string(const u8 *str, size_t size, const char *format, ...) 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; }
Fix the printf() string to avoid a warning. Signed-off-by: Simon Glass <sjg@chromium.org> --- lib/tpm-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)