mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Renames variable from opl to npl for consistency.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user