mirror of
https://github.com/flightlessmango/MangoHud.git
synced 2024-11-04 06:00:23 +00:00
amdgpu: hwmon fan: fix typo
This commit is contained in:
parent
016728b450
commit
7eea724f37
@ -116,7 +116,7 @@ void getAmdGpuInfo(){
|
||||
if (amdgpu.fan) {
|
||||
rewind(amdgpu.fan);
|
||||
fflush(amdgpu.fan);
|
||||
if (fscanf(amdgpu.fan, "%d" PRId64, &value) != 1)
|
||||
if (fscanf(amdgpu.fan, "%" PRId64, &value) != 1)
|
||||
value = 0;
|
||||
gpu_info.fan_speed = value;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user