summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
authorRyan Moeller <[email protected]>2020-01-31 11:55:51 -0500
committerGitHub <[email protected]>2020-01-31 08:55:51 -0800
commitfe7c15985b184e6e15320755ebcea0ec786be59c (patch)
tree00e098001363752f67afaaa9f2a6aca73ff5a2c9 /module
parent12430796d65f7bd0df7168adfb3d466476a33efd (diff)
Left-align index props
Index type props display as strings, which should be aligned to the left not to the right. Before: ``` FreeBSD-13_0-CURRENT-r356528 ➜ ~ zfs list -ro name,aclmode,mountpoint NAME ACLMODE MOUNTPOINT p0 passthrough /p0 p0/foo discard /p0/foo ``` After: ``` FreeBSD-13_0-CURRENT-r356528 ➜ ~ zfs list -ro name,aclmode,mountpoint NAME ACLMODE MOUNTPOINT p0 passthrough /p0 p0/foo discard /p0/foo ``` Reviewed-by: Igor Kozhukhov <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Ryan Moeller <[email protected]> Closes #9912
Diffstat (limited to 'module')
-rw-r--r--module/zcommon/zprop_common.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/zcommon/zprop_common.c b/module/zcommon/zprop_common.c
index 2f473413a..faab9d9a7 100644
--- a/module/zcommon/zprop_common.c
+++ b/module/zcommon/zprop_common.c
@@ -143,7 +143,7 @@ zprop_register_index(int prop, const char *name, uint64_t def,
const char *colname, const zprop_index_t *idx_tbl)
{
zprop_register_impl(prop, name, PROP_TYPE_INDEX, def, NULL, attr,
- objset_types, values, colname, B_TRUE, B_TRUE, idx_tbl);
+ objset_types, values, colname, B_FALSE, B_TRUE, idx_tbl);
}
void