1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-21 12:02:28 +00:00

Switch event_log_info() to event_log_error() in user_options.c

This commit is contained in:
jsteube 2016-10-23 13:45:05 +02:00
parent bfdd0edbad
commit 3b014dce28

View File

@ -508,10 +508,11 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
{ {
if (user_options->force == false) if (user_options->force == false)
{ {
event_log_info (hashcat_ctx, "The manual use of the -n option (or --kernel-accel) is outdated"); event_log_error (hashcat_ctx,
event_log_info (hashcat_ctx, "Please consider using the -w option instead"); "The manual use of the -n option (or --kernel-accel) is outdated." EOL
event_log_info (hashcat_ctx, "You can use --force to override this but do not post error reports if you do so"); "Please consider using the -w option instead." EOL
event_log_info (hashcat_ctx, ""); "You can use --force to override this but do not post error reports if you do so."
);
return -1; return -1;
} }
@ -535,10 +536,11 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
{ {
if (user_options->force == false) if (user_options->force == false)
{ {
event_log_info (hashcat_ctx, "The manual use of the -u option (or --kernel-loops) is outdated"); event_log_error (hashcat_ctx,
event_log_info (hashcat_ctx, "Please consider using the -w option instead"); "The manual use of the -u option (or --kernel-loops) is outdated." EOL
event_log_info (hashcat_ctx, "You can use --force to override this but do not post error reports if you do so"); "Please consider using the -w option instead." EOL
event_log_info (hashcat_ctx, ""); "You can use --force to override this but do not post error reports if you do so."
);
return -1; return -1;
} }