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:
YoungJules
2026-05-19 09:24:54 +02:00
parent f587e7e764
commit 1072aa3097
+3 -3
View File
@@ -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);