diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-04-11 22:49:39 +0200 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2023-04-11 22:50:18 +0200 |
commit | da255cb33fd8ddd233232850f9465e6ddb47015f (patch) | |
tree | 488374400faded42a87dab75b280261aa4d24492 /pcp | |
parent | c878343784f23d7cb18ccec6aa034f01aee8069e (diff) |
Minor code formatting consistency fixes
Diffstat (limited to 'pcp')
-rw-r--r-- | pcp/PCPProcessList.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c index 8147beeb..a5eb64d6 100644 --- a/pcp/PCPProcessList.c +++ b/pcp/PCPProcessList.c @@ -44,7 +44,7 @@ static void PCPProcessList_updateCPUcount(PCPProcessList* this) { free(this->percpu); free(this->values); - this->percpu = xCalloc(cpus, sizeof(pmAtomValue *)); + this->percpu = xCalloc(cpus, sizeof(pmAtomValue*)); for (unsigned int i = 0; i < cpus; i++) this->percpu[i] = xCalloc(CPU_METRIC_COUNT, sizeof(pmAtomValue)); this->values = xCalloc(cpus, sizeof(pmAtomValue)); |