diff options
Diffstat (limited to 'usr/src/common/zfs/zprop_common.c')
-rw-r--r-- | usr/src/common/zfs/zprop_common.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/src/common/zfs/zprop_common.c b/usr/src/common/zfs/zprop_common.c index 03919f0e91..5517782337 100644 --- a/usr/src/common/zfs/zprop_common.c +++ b/usr/src/common/zfs/zprop_common.c @@ -410,6 +410,12 @@ zprop_width(int prop, boolean_t *fixed, zfs_type_t type) */ if (prop == ZFS_PROP_CREATION) *fixed = B_FALSE; + /* + * 'health' is handled specially because it's a number + * internally, but displayed as a fixed 8 character string. + */ + if (prop == ZPOOL_PROP_HEALTH) + ret = 8; break; case PROP_TYPE_INDEX: idx = prop_tbl[prop].pd_table; |