readmem: remove superfluous printing of filename

This commit is contained in:
Martijn Plak 2024-01-23 08:39:50 +01:00
commit 6524c7ada7
2 changed files with 0 additions and 2 deletions

View file

@ -682,7 +682,6 @@ static int CmdReadmem(const char *Cmd) {
}
if (save_to_file) {
PrintAndLogEx(INFO, "saving to "_YELLOW_("%s"), filename);
saveFile(filename, ".bin", buffer, len);
} else {
PrintAndLogEx(INFO, "---- " _CYAN_("processor%s memory") " ----", flash_str);

View file

@ -683,7 +683,6 @@ static int dumpmem_to_file(const char *filename, uint32_t addr, uint32_t len, bo
}
if (res == PM3_SUCCESS) {
PrintAndLogEx(INFO, "saving to "_YELLOW_("%s"), filename);
if (saveFile(filename, ".bin", buffer, read) != 0) {
PrintAndLogEx(ERR, "error writing to file "_YELLOW_("%s"), filename);
res = PM3_EFILE;