From 1e39c8fa4ddc246c53eb61db9a431382f2bae306 Mon Sep 17 00:00:00 2001 From: Daniel Lange Date: Tue, 9 Feb 2021 20:25:57 +0100 Subject: [PATCH] Make ZFS Meter "Unavailable" text match others -> FAILED_READ coloring --- zfs/ZfsArcMeter.c | 2 +- zfs/ZfsCompressedArcMeter.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zfs/ZfsArcMeter.c b/zfs/ZfsArcMeter.c index 91dfc713..81fd240e 100644 --- a/zfs/ZfsArcMeter.c +++ b/zfs/ZfsArcMeter.c @@ -72,7 +72,7 @@ static void ZfsArcMeter_display(const Object* cast, RichString* out) { RichString_appendAscii(out, CRT_colors[ZFS_OTHER], buffer); } else { RichString_writeAscii(out, CRT_colors[METER_TEXT], " "); - RichString_appendAscii(out, CRT_colors[FAILED_SEARCH], "Unavailable"); + RichString_appendAscii(out, CRT_colors[FAILED_READ], "Unavailable"); } } diff --git a/zfs/ZfsCompressedArcMeter.c b/zfs/ZfsCompressedArcMeter.c index 4e5c89e6..d574215f 100644 --- a/zfs/ZfsCompressedArcMeter.c +++ b/zfs/ZfsCompressedArcMeter.c @@ -58,7 +58,7 @@ static void ZfsCompressedArcMeter_display(const Object* cast, RichString* out) { RichString_appendAscii(out, CRT_colors[METER_TEXT], " Ratio"); } else { RichString_writeAscii(out, CRT_colors[METER_TEXT], " "); - RichString_appendAscii(out, CRT_colors[FAILED_SEARCH], "Compression Unavailable"); + RichString_appendAscii(out, CRT_colors[FAILED_READ], "Compression Unavailable"); } }