From 95a78a035ae01b6ee79ac9ce6bad073bc3ebb3cf Mon Sep 17 00:00:00 2001 From: Andrew Sun Date: Tue, 1 Dec 2020 18:22:51 -0500 Subject: [PATCH] Make zpool status "remove:" label print in bold When ZFS_COLOR is set, zpool status shows row headings in bold, except for the "remove:" heading. This is a quick fix that makes it print in bold too. Reviewed-by: Tony Hutter Reviewed-by: Brian Behlendorf Signed-off-by: Andrew Sun Closes #11255 --- cmd/zpool/zpool_main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/zpool/zpool_main.c b/cmd/zpool/zpool_main.c index 85c9abdf251f..1e16c89adb79 100644 --- a/cmd/zpool/zpool_main.c +++ b/cmd/zpool/zpool_main.c @@ -7595,7 +7595,7 @@ print_removal_status(zpool_handle_t *zhp, pool_removal_stat_t *prs) vdev_name = zpool_vdev_name(g_zfs, zhp, child[prs->prs_removing_vdev], B_TRUE); - (void) printf(gettext("remove: ")); + printf_color(ANSI_BOLD, gettext("remove: ")); start = prs->prs_start_time; end = prs->prs_end_time;