diff --git a/cmd/arcstat/arcstat.py b/cmd/arcstat/arcstat.py index 85c83ccc44..b52a8c2947 100755 --- a/cmd/arcstat/arcstat.py +++ b/cmd/arcstat/arcstat.py @@ -285,7 +285,7 @@ def init(): ] ) except getopt.error as msg: - sys.stderr.write(msg) + sys.stderr.write("Error: %s\n" % str(msg)) usage() opts = None