]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/cmdhfmf.c
FIX: time printing, like difftime in MINGW enviroments needs to use 32b time.
[proxmark3-svn] / client / cmdhfmf.c
index 2e1b2186c07d6a411499b0af84b6786cd3bff331..0e3024a07623ed9204203f2fc78b4dd7b4529b57 100644 (file)
@@ -1230,10 +1230,10 @@ int CmdHF14AMfChk(const char *Cmd) {
        t1 = clock() - t1;\r
        time(&end);\r
        unsigned long elapsed_time = difftime(end, start);      \r
-\r
        if ( t1 > 0 )\r
-               printf("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);\r
+               PrintAndLog("\nTime in checkkeys: %.0f ticks %u seconds\n", (float)t1, elapsed_time);\r
 \r
+               \r
        // 20160116 If Sector A is found, but not Sector B,  try just reading it of the tag?\r
        if ( keyType != 1 ) {\r
                PrintAndLog("testing to read key B...");\r
Impressum, Datenschutz