1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-22 16:18:09 +00:00

Fix error in backend.c if compiling on macOS

This commit is contained in:
jsteube 2022-12-31 16:04:35 +00:00
parent 95a74b778f
commit 9651d3025c

View File

@ -6230,8 +6230,8 @@ int backend_ctx_devices_init (hashcat_ctx_t *hashcat_ctx, const int comptime)
{ {
if (backend_ctx->backend_devices_filter == -1ULL) 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, "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.", 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.", device_id + 1);
event_log_warning (hashcat_ctx, NULL); event_log_warning (hashcat_ctx, NULL);
device_param->skipped = true; device_param->skipped = true;