From a08f65b50e95d8599e8bd7938c29aee22914ec0c Mon Sep 17 00:00:00 2001 From: Royce Williams Date: Tue, 22 Aug 2017 06:53:18 -0800 Subject: [PATCH] flip the logic in terminal.c for readability --- src/terminal.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/terminal.c b/src/terminal.c index 764caa9df..1a5092988 100644 --- a/src/terminal.c +++ b/src/terminal.c @@ -38,13 +38,13 @@ 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); - if (user_options->optimized_kernel_enable == false) + if (user_options->optimized_kernel_enable == true) { - event_log_info (hashcat_ctx, "Active options: -w %u", user_options->workload_profile); + event_log_info (hashcat_ctx, "Active options: -O, -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, "Active options: -w %u", user_options->workload_profile); } event_log_info (hashcat_ctx, NULL); @@ -60,13 +60,13 @@ void welcome_screen (hashcat_ctx_t *hashcat_ctx, const char *version_tag) else { event_log_info (hashcat_ctx, "# %s (%s)", PROGNAME, version_tag); - if (user_options->optimized_kernel_enable == false) + if (user_options->optimized_kernel_enable == true) { - event_log_info (hashcat_ctx, "# Active options: -w %u", user_options->workload_profile); + event_log_info (hashcat_ctx, "# Active options: -O, -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, "# Active options: -w %u", user_options->workload_profile); } } }