mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2026-06-04 02:11:47 +00:00
Apply same percent-s formatting to PrintAndLogEx calls for hdr1. Not strictly needed from a security standpoint but makes the code prettier and next developer will not be left left wondering why hdr0 is handled differently to hdr1
This commit is contained in:
@@ -3057,9 +3057,9 @@ static int CmdDiff(const char *Cmd) {
|
||||
memset(hdr1 + strlen(hdr1), '-', hdr_sln);
|
||||
|
||||
PrintAndLogEx(INFO, "");
|
||||
PrintAndLogEx(INFO, hdr1);
|
||||
PrintAndLogEx(INFO, "%s", hdr1);
|
||||
PrintAndLogEx(INFO, "%s", hdr0);
|
||||
PrintAndLogEx(INFO, hdr1);
|
||||
PrintAndLogEx(INFO, "%s", hdr1);
|
||||
|
||||
char line[880] = {0};
|
||||
|
||||
@@ -3131,7 +3131,7 @@ static int CmdDiff(const char *Cmd) {
|
||||
}
|
||||
|
||||
// footer
|
||||
PrintAndLogEx(INFO, hdr1);
|
||||
PrintAndLogEx(INFO, "%s", hdr1);
|
||||
PrintAndLogEx(NORMAL, "");
|
||||
|
||||
free(inB);
|
||||
|
||||
Reference in New Issue
Block a user