diff --git a/src/outfile.c b/src/outfile.c index fff42f415..85f250749 100644 --- a/src/outfile.c +++ b/src/outfile.c @@ -319,8 +319,8 @@ void outfile_write_close (hashcat_ctx_t *hashcat_ctx) void outfile_write (hashcat_ctx_t *hashcat_ctx, const char *out_buf, const unsigned char *plain_ptr, const u32 plain_len, const u64 crackpos, const unsigned char *username, const u32 user_len) { - hashconfig_t *hashconfig = hashcat_ctx->hashconfig; - outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx; + const hashconfig_t *hashconfig = hashcat_ctx->hashconfig; + const outfile_ctx_t *outfile_ctx = hashcat_ctx->outfile_ctx; char tmp_buf[HCBUFSIZ_LARGE]; int tmp_len = 0; diff --git a/src/usage.c b/src/usage.c index 71de716e4..a7b1d5ca9 100644 --- a/src/usage.c +++ b/src/usage.c @@ -410,10 +410,18 @@ static const char *USAGE_BIG[] = void usage_mini_print (const char *progname) { - for (int i = 0; USAGE_MINI[i] != NULL; i++) printf (USAGE_MINI[i], progname); + for (int i = 0; USAGE_MINI[i] != NULL; i++) + { + printf (USAGE_MINI[i], progname); + printf (EOL); + } } void usage_big_print (const char *progname) { - for (int i = 0; USAGE_BIG[i] != NULL; i++) printf (USAGE_BIG[i], progname); + for (int i = 0; USAGE_BIG[i] != NULL; i++) + { + printf (USAGE_BIG[i], progname); + printf (EOL); + } }