1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

Fix some nvapi calls

This commit is contained in:
jsteube 2016-10-06 17:03:24 +02:00
parent 0885c0ec6b
commit 3a563ce2e9

View File

@ -1281,7 +1281,7 @@ int hwmon_ctx_init (hashcat_ctx_t *hashcat_ctx)
#endif
#if defined (_WIN)
rc = hm_set_fanspeed_with_device_id_nvapi (hwmon_ctx, device_id, fanspeed, 1);
rc = hm_set_fanspeed_with_device_id_nvapi (hashcat_ctx, device_id, fanspeed, 1);
#endif
}
@ -1340,7 +1340,7 @@ void hwmon_ctx_destroy (hashcat_ctx_t *hashcat_ctx)
#endif
#if defined (_WIN)
rc = hm_set_fanspeed_with_device_id_nvapi (hwmon_ctx, device_id, 100, 0);
rc = hm_set_fanspeed_with_device_id_nvapi (hashcat_ctx, device_id, 100, 0);
#endif
}