diff options
author | Nathan Scott <nathans@redhat.com> | 2023-05-08 10:08:20 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2023-05-08 13:07:50 +1000 |
commit | 290ddba35e7a1463c1a9fc5ff6bd723cd1670ba2 (patch) | |
tree | a31bbb5623459e4f4038f7876ab6b14e31004e14 /openbsd | |
parent | 72235d8e098d9d79029dca65122605741e1aafad (diff) |
Minor whitespace and small logic flow improvements on review
Quality improvements from BenBE as part of review for #1234.
Diffstat (limited to 'openbsd')
-rw-r--r-- | openbsd/Platform.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c index 94e71928..06594089 100644 --- a/openbsd/Platform.c +++ b/openbsd/Platform.c @@ -182,7 +182,7 @@ int Platform_getMaxPid(void) { double Platform_setCPUValues(Meter* this, unsigned int cpu) { const Machine* host = this->host; const OpenBSDMachine* ohost = (const OpenBSDMachine*) host; - const CPUData* cpuData = &(ohost->cpuData[cpu]); + const CPUData* cpuData = &ohost->cpuData[cpu]; double total; double totalPercent; double* v = this->values; |