Skip to content

Commit 77d955c

Browse files
as-comRageLtMan
authored andcommitted
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 <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Andrew Sun <[email protected]> Closes openzfs#11255
1 parent 1048f98 commit 77d955c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/zpool/zpool_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7595,7 +7595,7 @@ print_removal_status(zpool_handle_t *zhp, pool_removal_stat_t *prs)
75957595
vdev_name = zpool_vdev_name(g_zfs, zhp,
75967596
child[prs->prs_removing_vdev], B_TRUE);
75977597

7598-
(void) printf(gettext("remove: "));
7598+
printf_color(ANSI_BOLD, gettext("remove: "));
75997599

76007600
start = prs->prs_start_time;
76017601
end = prs->prs_end_time;

0 commit comments

Comments
 (0)