]> granicus.if.org Git - zfs/commit
sighandler() should take 2 arguments
authorIsaac Huang <he.huang@intel.com>
Tue, 11 Mar 2014 05:16:33 +0000 (23:16 -0600)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Wed, 12 Mar 2014 16:00:18 +0000 (09:00 -0700)
commit0bb89b6c594259829556f6dea5a89e722f214fd3
tree4bc91828586aa68de1842698628a2468be6410ba
parent4e1c9f9c48186f61b5fbe1dd8bc150d48a9b9431
sighandler() should take 2 arguments

Stopping arcstat.py with ^C always ends up with error:

  TypeError: sighandler() takes no arguments (2 given)

This patch corrects the error by updating the signal handler
to take the correct number of arguments.

Signed-off-by: Isaac Huang <he.huang@intel.com>
Signed-off-by: Prakash Surya <surya1@llnl.gov>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #2182
cmd/arcstat/arcstat.py