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 <hutter2@llnl.gov> Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Andrew Sun <me@andrewsun.com> Closes #11255
This commit is contained in:
parent
aa2778d100
commit
95a78a035a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue