Make ZFS Meter "Unavailable" text match others -> FAILED_READ coloring

This commit is contained in:
Daniel Lange 2021-02-09 20:25:57 +01:00
parent 4cb2b5fc1c
commit 1e39c8fa4d
2 changed files with 2 additions and 2 deletions

View File

@ -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");
}
}

View File

@ -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");
}
}