From 9651d3025c7e7e1f6b53a67cf3c9a10ca143e175 Mon Sep 17 00:00:00 2001 From: jsteube Date: Sat, 31 Dec 2022 16:04:35 +0000 Subject: [PATCH] Fix error in backend.c if compiling on macOS --- src/backend.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/backend.c b/src/backend.c index cad22158f..1faaa7892 100644 --- a/src/backend.c +++ b/src/backend.c @@ -6230,8 +6230,8 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime) { if (backend_ctx->backend_devices_filter == -1ULL) { - event_log_warning (hashcat_ctx, "The device #%d has been disabled as it most likely also exists as an OpenCL device, but it is not possible to automatically map it.", alias_device->device_id + 1); - event_log_warning (hashcat_ctx, "You can use -d #%d to use Metal API instead of OpenCL API. In some rare cases this is more stable.", alias_device->device_id + 1); + event_log_warning (hashcat_ctx, "The device #%d has been disabled as it most likely also exists as an OpenCL device, but it is not possible to automatically map it.", device_id + 1); + event_log_warning (hashcat_ctx, "You can use -d #%d to use Metal API instead of OpenCL API. In some rare cases this is more stable.", device_id + 1); event_log_warning (hashcat_ctx, NULL); device_param->skipped = true;