diff --git a/src/hwmon.c b/src/hwmon.c index 2bce94a3d..3841696b8 100644 --- a/src/hwmon.c +++ b/src/hwmon.c @@ -474,7 +474,7 @@ static int nvml_init (hashcat_ctx_t *hashcat_ctx) nvml_winpath = (char *) hcmalloc (100); - hc_fread (nvml_winpath, 100, 1, nvml_lib); + hc_fread_direct (nvml_winpath, 100, 1, nvml_lib); fclose (nvml_lib);