diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 8f7004d66..7cdd44af1 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1621,12 +1621,12 @@ out: FILE *fkeys = fopen(fptr,"wb"); if (fkeys == NULL) { - PrintAndLogEx(WARNING, "Could not create file %s", filename); + PrintAndLogEx(WARNING, "Could not create file %s", fptr); free(keyBlock); free(e_sector); return 1; } - PrintAndLogEx(NORMAL, "Printing keys to binary file %s...", filename); + PrintAndLogEx(NORMAL, "Printing keys to binary file %s...", fptr); for (i=0; i 0xffffffffffff has been inserted for unknown keys.", fptr); } free(keyBlock);