diff --git a/tools/hitag2crack/crack5opencl/ht2crack5opencl.c b/tools/hitag2crack/crack5opencl/ht2crack5opencl.c index ec261dff8..be70c9f9a 100644 --- a/tools/hitag2crack/crack5opencl/ht2crack5opencl.c +++ b/tools/hitag2crack/crack5opencl/ht2crack5opencl.c @@ -1152,12 +1152,12 @@ int main(int argc, char **argv) { if (thread_count > 1) printf("[%zu] ", y); - printf("Key found @ slice %zu/%zu: ", t_arg[y].slice, t_arg[y].max_slices); + printf("\nKey found @ slice %zu/%zu: [", t_arg[y].slice, t_arg[y].max_slices); for (int i = 0; i < 6; i++) { printf("%02X", (uint8_t)(t_arg[y].key & 0xff)); t_arg[y].key = t_arg[y].key >> 8; } - printf("\n"); + printf(" ]\n"); fflush(stdout); break; } @@ -1178,7 +1178,7 @@ int main(int argc, char **argv) { printf("\nAttack 5 - opencl - end"); - if (show_overall_time) printf(" in %ld.%06ld second(s).\n\n", (long int)cpu_t_result.tv_sec, (long int)cpu_t_result.tv_usec); + if (show_overall_time) printf(" in %ld.%2ld second(s).\n\n", (long int)cpu_t_result.tv_sec, (long int)cpu_t_result.tv_usec); else printf("\n"); fflush(stdout);