diff --git a/src/debugfile.c b/src/debugfile.c index 36f114b3a..9f08d52fb 100644 --- a/src/debugfile.c +++ b/src/debugfile.c @@ -6,7 +6,7 @@ #include "common.h" #include "types.h" #include "memory.h" -#include "logging.h" +#include "event.h" #include "debugfile.h" static void debugfile_format_plain (hashcat_ctx_t *hashcat_ctx, const u8 *plain_ptr, const u32 plain_len) @@ -107,7 +107,7 @@ int debugfile_init (hashcat_ctx_t *hashcat_ctx) if (debugfile_ctx->fp == NULL) { - log_error ("ERROR: Could not open debug-file for writing"); + event_log_error (hashcat_ctx, "ERROR: Could not open debug-file for writing"); return -1; }