Skip to content

Commit ab7cbbe

Browse files
authored
zprop: fix value help for ZPOOL_PROP_CAPACITY
It's a percentage and documented as such, but we were showing it as <size>. Sponsored-by: https://despairlabs.com/sponsor/ Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: Alexander Motin <[email protected]> Reviewed-by: George Melikov <[email protected]> Signed-off-by: Rob Norris <[email protected]> Closes #16881
1 parent 830a531 commit ab7cbbe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

module/zcommon/zpool_prop.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ zpool_prop_init(void)
105105
PROP_READONLY, ZFS_TYPE_POOL, "<percent>", "FRAG", B_FALSE,
106106
sfeatures);
107107
zprop_register_number(ZPOOL_PROP_CAPACITY, "capacity", 0, PROP_READONLY,
108-
ZFS_TYPE_POOL, "<size>", "CAP", B_FALSE, sfeatures);
108+
ZFS_TYPE_POOL, "<percent>", "CAP", B_FALSE, sfeatures);
109109
zprop_register_number(ZPOOL_PROP_GUID, "guid", 0, PROP_READONLY,
110110
ZFS_TYPE_POOL, "<guid>", "GUID", B_TRUE, sfeatures);
111111
zprop_register_number(ZPOOL_PROP_LOAD_GUID, "load_guid", 0,

0 commit comments

Comments
 (0)