mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-21 18:52:49 +00:00
Fix compilation error
This commit is contained in:
parent
1364301351
commit
5a4b11c659
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@ namespace NvidiaGPU
|
|||
|
||||
// Check if all information is available
|
||||
GPUUtilization util;
|
||||
int res = nvmlDeviceGetUtilizationRates(nvmlGPUHandle, &util);
|
||||
res = nvmlDeviceGetUtilizationRates(nvmlGPUHandle, &util);
|
||||
if (res != 0)
|
||||
{
|
||||
LOG("Failed querying utilization rates (Error: " << res << "), disabling Nvidia GPU!");
|
||||
|
|
Loading…
Reference in a new issue