2
0
mirror of https://github.com/munin-monitoring/contrib.git synced 2018-11-08 00:59:34 +01:00

Merge pull request #923 from smith153/master

Fix Odd number of elements in hash at linux_diskstat_ line 321
This commit is contained in:
Lars Kruse 2018-07-24 01:54:38 +02:00 committed by GitHub
commit d01aa273a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -498,7 +498,7 @@ sub read_sysfs {
$cur_device =~ tr#!#/#; $cur_device =~ tr#!#/#;
# Faking missing diskstats values # Faking missing diskstats values
unshift @elems, ( '', '', $cur_device ); unshift @elems, ( -1, -1, $cur_device );
push @lines, \@elems; push @lines, \@elems;