summaryrefslogtreecommitdiffstats
path: root/solaris/Platform.c
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2023-05-08 10:08:20 +1000
committerNathan Scott <nathans@redhat.com>2023-05-08 13:07:50 +1000
commit290ddba35e7a1463c1a9fc5ff6bd723cd1670ba2 (patch)
treea31bbb5623459e4f4038f7876ab6b14e31004e14 /solaris/Platform.c
parent72235d8e098d9d79029dca65122605741e1aafad (diff)
Minor whitespace and small logic flow improvements on review
Quality improvements from BenBE as part of review for #1234.
Diffstat (limited to 'solaris/Platform.c')
-rw-r--r--solaris/Platform.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index ad899492..95c50b4d 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -258,13 +258,13 @@ void Platform_setSwapValues(Meter* this) {
void Platform_setZfsArcValues(Meter* this) {
const SolarisMachine* shost = (SolarisMachine*) this->host;
- ZfsArcMeter_readStats(this, &(shost->zfs));
+ ZfsArcMeter_readStats(this, &shost->zfs);
}
void Platform_setZfsCompressedArcValues(Meter* this) {
const SolarisMachine* shost = (SolarisMachine*) this->host;
- ZfsCompressedArcMeter_readStats(this, &(shost->zfs));
+ ZfsCompressedArcMeter_readStats(this, &shost->zfs);
}
static int Platform_buildenv(void* accum, struct ps_prochandle* Phandle, uintptr_t addr, const char* str) {

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