]> git.proxmox.com Git - mirror_zfs.git/commit
arcstat: fix -p option
authorr-ricci <ricci@disroot.org>
Fri, 12 Aug 2022 21:21:52 +0000 (22:21 +0100)
committerGitHub <noreply@github.com>
Fri, 12 Aug 2022 21:21:52 +0000 (14:21 -0700)
commite713b69e519437af05f88b9db623022dfba69f6d
tree84e40970e2e98eb3f57852b1a3fb7871c21f6d8e
parentfbc210fab21e1ec9d744d7589c386fc148f7682e
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
cmd/arcstat.in