summaryrefslogtreecommitdiffstats
path: root/pcp/PCPProcessList.c
diff options
context:
space:
mode:
authorBenny Baumann <BenBE@geshi.org>2021-07-14 19:15:09 +0200
committerBenBE <BenBE@geshi.org>2021-07-15 06:57:24 +0200
commit458749df45a24abec1f9a820e4172a08ccfba3b1 (patch)
treede48ef3f0c15e6f748e99868f1f8c4d340a0296c /pcp/PCPProcessList.c
parente7f8d7bcc954e965143331ec3f2353c03959acc6 (diff)
Code indentation
Diffstat (limited to 'pcp/PCPProcessList.c')
-rw-r--r--pcp/PCPProcessList.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pcp/PCPProcessList.c b/pcp/PCPProcessList.c
index bd4e782b..ac72e434 100644
--- a/pcp/PCPProcessList.c
+++ b/pcp/PCPProcessList.c
@@ -460,7 +460,7 @@ static void PCPProcessList_updateMemoryInfo(ProcessList* super) {
super->totalSwap = value.ull;
if (Metric_values(PCP_MEM_SWAPCACHED, &value, 1, PM_TYPE_U64) != NULL)
super->cachedSwap = value.ull;
- super->usedSwap = super->totalSwap - swapFreeMem - super->cachedSwap;
+ super->usedSwap = super->totalSwap - swapFreeMem - super->cachedSwap;
}
/* make copies of previously sampled values to avoid overwrite */

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