Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize ZFS ARC caption #14

Merged
merged 1 commit into from
Aug 28, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Normalize ZFS ARC caption
Other captions take the form of LABEL:<space>. This moves the
uncompressed ZFS ARC caption into the same style.
  • Loading branch information
zdykstra committed Aug 28, 2020
commit f97fbd668a7606453d29dba9410f98bdd6f85edd
3 changes: 1 addition & 2 deletions zfs/ZfsArcMeter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down Expand Up @@ -100,5 +99,5 @@ MeterClass ZfsArcMeter_class = {
.attributes = ZfsArcMeter_attributes,
.name = "ZFSARC",
.uiName = "ZFS ARC",
.caption = "ARC"
.caption = "ARC: "
};