Merge pull request #14 from zdykstra/master

Normalize ZFS ARC caption
This commit is contained in:
Nathan Scott 2020-08-28 16:58:06 +10:00 committed by GitHub
commit 2d14269bcd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -60,7 +60,6 @@ static void ZfsArcMeter_display(Object* cast, RichString* out) {
Meter* this = (Meter*)cast;
if (this->values[5] > 0) {
RichString_write(out, CRT_colors[METER_TEXT], ":");
Meter_humanUnit(buffer, this->total, 50);
RichString_append(out, CRT_colors[METER_VALUE], buffer);
Meter_humanUnit(buffer, this->values[5], 50);
@ -100,5 +99,5 @@ MeterClass ZfsArcMeter_class = {
.attributes = ZfsArcMeter_attributes,
.name = "ZFSARC",
.uiName = "ZFS ARC",
.caption = "ARC"
.caption = "ARC: "
};