Renames variable from opl to npl for consistency.

This commit is contained in:
fraggerfox
2021-04-24 09:59:11 +05:30
committed by BenBE
parent 497f468ed0
commit e42ae55d69
2 changed files with 15 additions and 15 deletions

View File

@ -199,8 +199,8 @@ int Platform_getMaxPid() {
}
double Platform_setCPUValues(Meter* this, int cpu) {
const NetBSDProcessList* pl = (const NetBSDProcessList*) this->pl;
const CPUData* cpuData = &(pl->cpus[cpu]);
const NetBSDProcessList* npl = (const NetBSDProcessList*) this->pl;
const CPUData* cpuData = &npl->cpus[cpu];
double total = cpuData->totalPeriod == 0 ? 1 : cpuData->totalPeriod;
double totalPercent;
double* v = this->values;