summaryrefslogtreecommitdiff
path: root/fuzz/host_command_fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'fuzz/host_command_fuzz.c')
-rw-r--r--fuzz/host_command_fuzz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fuzz/host_command_fuzz.c b/fuzz/host_command_fuzz.c
index 9ac7955aed..5d490bc192 100644
--- a/fuzz/host_command_fuzz.c
+++ b/fuzz/host_command_fuzz.c
@@ -113,8 +113,8 @@ static int hostcmd_fill(const uint8_t *data, size_t size)
* issues.
*/
if (first) {
- ccprintf("Request: cmd=%04x data=%.*h\n",
- req->command, req_size, req_buf);
+ ccprintf("Request: cmd=%04x data=%ph\n",
+ req->command, HEX_BUF(req_buf, req_size));
first = 0;
}