diff options
Diffstat (limited to 'board/cr50/usb_spi.c')
-rw-r--r-- | board/cr50/usb_spi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/board/cr50/usb_spi.c b/board/cr50/usb_spi.c index 9392bec8f7..66083de4b1 100644 --- a/board/cr50/usb_spi.c +++ b/board/cr50/usb_spi.c @@ -754,9 +754,9 @@ static int hash_command_wrapper(int argc, char *argv[]) rv = EC_SUCCESS; if (req.subcmd == SPI_HASH_SUBCMD_DUMP) - ccprintf("data: %.*h\n", req.size, p); + ccprintf("data: %ph\n", HEX_BUF(p, req.size)); else if (req.subcmd == SPI_HASH_SUBCMD_SHA256) - ccprintf("hash: %.32h\n", p); + ccprintf("hash: %ph\n", HEX_BUF(p, 32)); } return rv; |