1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 07:28:10 +00:00

Merge pull request #1124 from lindi2/master

Fix spelling of MHz
This commit is contained in:
Jens Steube 2017-02-22 20:54:23 +01:00 committed by GitHub
commit 53571f9516
2 changed files with 4 additions and 4 deletions

View File

@ -384,7 +384,7 @@ static int hm_SYSFS_get_pp_dpm_sclk (hashcat_ctx_t *hashcat_ctx, const int devic
int profile = 0;
int rc = sscanf (ptr, "%d: %dMhz", &profile, &clockfreq);
int rc = sscanf (ptr, "%d: %dMHz", &profile, &clockfreq);
if (rc == 2) break;
}
@ -439,7 +439,7 @@ static int hm_SYSFS_get_pp_dpm_mclk (hashcat_ctx_t *hashcat_ctx, const int devic
int profile = 0;
int rc = sscanf (ptr, "%d: %dMhz", &profile, &clockfreq);
int rc = sscanf (ptr, "%d: %dMHz", &profile, &clockfreq);
if (rc == 2) break;
}

View File

@ -1624,12 +1624,12 @@ char *status_get_hwmon_dev (const hashcat_ctx_t *hashcat_ctx, const int device_i
if (num_corespeed >= 0)
{
output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "Core:%4dMhz ", num_corespeed);
output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "Core:%4dMHz ", num_corespeed);
}
if (num_memoryspeed >= 0)
{
output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "Mem:%4dMhz ", num_memoryspeed);
output_len += snprintf (output_buf + output_len, HCBUFSIZ_TINY - output_len, "Mem:%4dMHz ", num_memoryspeed);
}
if (num_buslanes >= 0)