diff options
Diffstat (limited to 'chip/stm32/trng.c')
-rw-r--r-- | chip/stm32/trng.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/trng.c b/chip/stm32/trng.c index fcc0f5432e..eff3ca0181 100644 --- a/chip/stm32/trng.c +++ b/chip/stm32/trng.c @@ -111,7 +111,7 @@ static int command_rand(int argc, char **argv) rand_bytes(data, sizeof(data)); exit_trng(); - ccprintf("rand %.*h\n", sizeof(data), data); + ccprintf("rand %ph\n", HEX_BUF(data, sizeof(data))); return EC_SUCCESS; } |