Commit 5092af6b571c883c49da2b6df7419d73874cdba4

Authored by Simon Glass
1 parent be8a025ed7

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>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -119,7 +119,7 @@
119 119  
120 120 if (offset + length > size) {
121 121 va_end(args);
122   - log_err("Failed to read: size=%d, offset=%x, len=%x\n",
  122 + log_err("Failed to read: size=%zd, offset=%zx, len=%zx\n",
123 123 size, offset, length);
124 124 return -1;
125 125 }