Skip to content

Commit

Permalink
Fix sd cat output (now use cprint())
Browse files Browse the repository at this point in the history
  • Loading branch information
bvernoux committed Dec 19, 2014
1 parent 53c88a8 commit 86abbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion common/microsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 86abbd5

Please sign in to comment.