HomeFreeBSD

arcstat: fix -p option

Description

arcstat: fix -p option

When the -p option is used, a list of floats is passed to sep.join(),
which expects strings. Fix this by converting each value to a string.

Reviewed-by: Richard Elling <Richard.Elling@RichardElling.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Roberto Ricci <ricci@disroot.org>
Closes #12916
Closes #13767

Details

Provenance
r-ricci <ricci@disroot.org>Authored on Aug 12 2022, 9:21 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Aug 12 2022, 9:29 PM
Parents
rGdb5fd16f0b7f: Fix problem with zdb_objset_id test.
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG533779f5f2d9: arcstat: fix -p option (authored by r-ricci <ricci@disroot.org>).Aug 12 2022, 9:29 PM