From 1e2bb9c9f43872bfe13f5b6c06f0af2bec1eedd4 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 28 Jul 2016 21:48:53 +0200 Subject: [PATCH] CHG: trying to figure out why I can't get the seconds out.. --- client/cmdhfmfhard.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/cmdhfmfhard.c b/client/cmdhfmfhard.c index d3381214..2af03f08 100644 --- a/client/cmdhfmfhard.c +++ b/client/cmdhfmfhard.c @@ -1687,12 +1687,12 @@ static void brute_force(void) time(&end); double elapsed_time = difftime(end, start); - PrintAndLog(""); + PrintAndLog("ICE %.f seconds", elapsed_time); if(keys_found){ - PrintAndLog("Success! Tested %"PRIu64" states, found %u keys after %.f seconds", total_states_tested, keys_found, elapsed_time); + PrintAndLog("Success! Tested %"PRIu32" states, found %u keys after %.f seconds", total_states_tested, keys_found, elapsed_time); PrintAndLog("\nFound key: %012"PRIx64"\n", foundkey); } else { - PrintAndLog("Fail! Tested %"PRIu64" states, in %.f seconds", total_states_tested, elapsed_time); + PrintAndLog("Fail! Tested %"PRIu32" states, in %.f seconds", total_states_tested, elapsed_time); } // reset this counter for the next call nonces_to_bruteforce = 0; -- 2.39.2