diff options
author | Ross Williams <ross@ross-williams.net> | 2021-02-09 16:59:03 +0000 |
---|---|---|
committer | Ross Williams <ross@ross-williams.net> | 2021-02-09 17:07:00 +0000 |
commit | f73c98abd44b9b38e095b402a8b72d614b40052b (patch) | |
tree | 377401a590ed763c8688e20957e3f4732f38c27b /zfs | |
parent | f273bfd0837b955941462535d66a0c4076948ee9 (diff) |
Forgot to correctly color ZFS ARC ratio
`ZFS_RATIO` in `CRT.c` was unused, because I forgot
to colorize the ARC ratio in the Compressed ARC meter.
The intent was to improve readability of the meter by
highlighting the most relevant value, the ratio, in
a brighter color, for most themes. This change effects
that intent.
Diffstat (limited to 'zfs')
-rw-r--r-- | zfs/ZfsCompressedArcMeter.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zfs/ZfsCompressedArcMeter.c b/zfs/ZfsCompressedArcMeter.c index 92d82e99..4e5c89e6 100644 --- a/zfs/ZfsCompressedArcMeter.c +++ b/zfs/ZfsCompressedArcMeter.c @@ -54,7 +54,7 @@ static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) { RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer); RichString_appendAscii(out, CRT_colors[METER_TEXT], " Compressed, "); ZfsCompressedArcMeter_printRatioString(this, buffer, sizeof(buffer)); - RichString_appendAscii(out, CRT_colors[METER_VALUE], buffer); + RichString_appendAscii(out, CRT_colors[ZFS_RATIO], buffer); RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio"); } else { RichString_writeAscii(out, CRT_colors[METER_TEXT], " "); |