From 54a107432cd38125552055d7377910b4c5c6b5a2 Mon Sep 17 00:00:00 2001 From: Aram Date: Sun, 1 May 2016 23:38:00 +0200 Subject: [PATCH] Fixed thread count output --- pwpiwi_proxmark3_hard_nested.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pwpiwi_proxmark3_hard_nested.patch b/pwpiwi_proxmark3_hard_nested.patch index c53a52b..f4e29c8 100644 --- a/pwpiwi_proxmark3_hard_nested.patch +++ b/pwpiwi_proxmark3_hard_nested.patch @@ -608,8 +608,8 @@ index b3893ea..bf71a08 100644 + } + + // enumerate states using all hardware threads, each thread handles one bucket -+ PrintAndLog("Starting %u cracking threads to search %u buckets containing a total of %lu states...", thread_count, bucket_count, maximum_states); + thread_count = sysconf(_SC_NPROCESSORS_CONF); ++ PrintAndLog("Starting %u cracking threads to search %u buckets containing a total of %lu states...", thread_count, bucket_count, maximum_states); + pthread_t threads[thread_count]; + for(size_t i = 0; i < thread_count; i++){ + pthread_create(&threads[i], NULL, crack_states_thread, (void*) i);