diff --git a/src/terminal.c b/src/terminal.c index 08f147b9a..44b8fdc11 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -38,7 +38,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) if (user_options->machine_readable == false) { event_log_info (hashcat_ctx, "%s (%s) starting in benchmark mode...", PROGNAME, version_tag); - event_log_info (hashcat_ctx, "Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); + if (user_options->optimized_kernel_enable == false) + { + event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile); + } + else + { + event_log_info (hashcat_ctx, "Active options: -O, -w %u", user_options->workload_profile); + } event_log_info (hashcat_ctx, NULL); if (user_options->workload_profile_chgd == false) @@ -53,8 +60,14 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) else { event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); - event_log_info (hashcat_ctx, "# Active options: -O %d, -w %u", user_options->optimized_kernel_enable, user_options->workload_profile); - + if (user_options->optimized_kernel_enable == false) + { + event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile); + } + else + { + event_log_info (hashcat_ctx, "# Active options: -O, -w %u", user_options->workload_profile); + } } } else if (user_options->restore == true)