From 362912ce8fc617a157fd8505d3ee46a0be94a822 Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Mon, 9 Dec 2024 10:35:18 +0100 Subject: [PATCH] setterm: improve "bright %s" error message Addresses: https://github.com/util-linux/util-linux/pull/3312 Signed-off-by: Karel Zak --- term-utils/setterm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/term-utils/setterm.c b/term-utils/setterm.c index d9f9b4502..53bc6785d 100644 --- a/term-utils/setterm.c +++ b/term-utils/setterm.c @@ -235,7 +235,7 @@ static int parse_ulhb_color(char **av, int *oi) if (!is_valid_color(color) || color == DEFAULT) errx(EXIT_FAILURE, "%s: %s", _("argument error"), color_name); if (bright && (color == BLACK || color == GREY)) - errx(EXIT_FAILURE, _("argument error: bright %s is not supported"), color_name); + errx(EXIT_FAILURE, _("argument error: bright color %s is not supported"), color_name); if (bright) color |= 8; -- 2.47.3