diff --git a/common/microsd.c b/common/microsd.c index 5e4725d6..a0b4cdd5 100644 --- a/common/microsd.c +++ b/common/microsd.c @@ -622,7 +622,7 @@ int cmd_sd_cat(t_hydra_console *con, t_tokenline_parsed *p) } else { /* Force end of string at end of buffer */ inbuf[cnt] = 0; - cprintf(con, "%s", inbuf); + cprint(con, (char *)inbuf, cnt); } } if (!hex)