diff options
author | Benny Baumann <BenBE@geshi.org> | 2021-07-14 19:15:09 +0200 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-07-15 06:57:24 +0200 |
commit | 458749df45a24abec1f9a820e4172a08ccfba3b1 (patch) | |
tree | de48ef3f0c15e6f748e99868f1f8c4d340a0296c /pcp/Platform.c | |
parent | e7f8d7bcc954e965143331ec3f2353c03959acc6 (diff) |
Code indentation
Diffstat (limited to 'pcp/Platform.c')
-rw-r--r-- | pcp/Platform.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/pcp/Platform.c b/pcp/Platform.c index 6512ed66..082f4b5b 100644 --- a/pcp/Platform.c +++ b/pcp/Platform.c @@ -670,15 +670,15 @@ void Platform_setZramValues(Meter* this) { if (Metric_values(PCP_ZRAM_CAPACITY, values, count, PM_TYPE_U64)) { for (i = 0; i < count; i++) - stats.totalZram += values[i].ull; + stats.totalZram += values[i].ull; } if (Metric_values(PCP_ZRAM_ORIGINAL, values, count, PM_TYPE_U64)) { for (i = 0; i < count; i++) - stats.usedZramOrig += values[i].ull; + stats.usedZramOrig += values[i].ull; } if (Metric_values(PCP_ZRAM_COMPRESSED, values, count, PM_TYPE_U64)) { for (i = 0; i < count; i++) - stats.usedZramComp += values[i].ull; + stats.usedZramComp += values[i].ull; } free(values); @@ -701,8 +701,8 @@ void Platform_setZfsCompressedArcValues(Meter* this) { } void Platform_getHostname(char* buffer, size_t size) { - const char* hostname = pmGetContextHostName(pcp->context); - String_safeStrncpy(buffer, hostname, size); + const char* hostname = pmGetContextHostName(pcp->context); + String_safeStrncpy(buffer, hostname, size); } void Platform_getRelease(char** string) { |