summaryrefslogtreecommitdiffstats
path: root/netbsd/Platform.c
diff options
context:
space:
mode:
authorfraggerfox <santhosh.raju@gmail.com>2021-04-24 09:59:11 +0530
committerBenBE <BenBE@geshi.org>2021-06-26 12:18:37 +0200
commite42ae55d691b0e2018d3569ae687cf0cda98c0f8 (patch)
treeb45df02154e6fb2c98c5637ec098a2f0f0ccd889 /netbsd/Platform.c
parent497f468ed085341ad93e124f20f119cb4836bb80 (diff)
Renames variable from opl to npl for consistency.
Diffstat (limited to 'netbsd/Platform.c')
-rw-r--r--netbsd/Platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/netbsd/Platform.c b/netbsd/Platform.c
index 480d2b22..5f2a434e 100644
--- a/netbsd/Platform.c
+++ b/netbsd/Platform.c
@@ -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;

© 2014-2024 Faster IT GmbH | imprint | privacy policy