mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-11-22 03:02: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
|
// Check if all information is available
|
||||||
GPUUtilization util;
|
GPUUtilization util;
|
||||||
int res = nvmlDeviceGetUtilizationRates(nvmlGPUHandle, &util);
|
res = nvmlDeviceGetUtilizationRates(nvmlGPUHandle, &util);
|
||||||
if (res != 0)
|
if (res != 0)
|
||||||
{
|
{
|
||||||
LOG("Failed querying utilization rates (Error: " << res << "), disabling Nvidia GPU!");
|
LOG("Failed querying utilization rates (Error: " << res << "), disabling Nvidia GPU!");
|
||||||
|
|
Loading…
Reference in a new issue