Skip to content

Commit 9060072

Browse files
committed
irqtop: quickfix for table mode.
1 parent 2b2dde8 commit 9060072

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

irqtop

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def read_table(tag, file)
6060
@cpus = []
6161
lines = IO.readlines(file)
6262
@cpus = lines[0].scan(/CPU\d+/)
63-
@icpu = @cpus if tag == 'i'
63+
@icpus = @cpus if tag == 'i'
6464
lines[2..-1].each do |li|
6565
irq, stat, desc = li.match(/^\s*(\S+):((?:\s+\d+)+)(.*)$/).captures
6666
stat = stat.scan(/\d+/)

0 commit comments

Comments
 (0)