mirror_zfs/cmd/arcstat
Valmiky Arquissandas 2d02bba23d
arcstat: Fix integer division with python3
The arcstat script requests compatibility with python2 and python3, but
PEP 238 modified the / operator and results in erroneous output when
run under python3.

This commit replaces instances of / with //, yielding the expected
result in both versions of Python.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@ixsystems.com>
Signed-off-by: Valmiky Arquissandas <foss@kayvlim.com>
Closes #12603
2021-10-08 09:32:27 -06:00
..
.gitignore Centralize variable substitution 2020-07-14 17:33:44 -07:00
arcstat.in arcstat: Fix integer division with python3 2021-10-08 09:32:27 -06:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00