niceload: undef_as_zero was in same package.

This commit is contained in:
Ole Tange 2012-12-28 21:29:09 +01:00
parent 382cea7c09
commit 40c2fcc61a

View file

@ -786,7 +786,7 @@ sub io_status_linux {
push @iostat, (split(/\s+/,$_))[13];
}
my $io = ::max(@iostat);
return ::undef_as_zero($io)/10;
return undef_as_zero($io)/10;
}
$::exitsignal = $::exitstatus = 0; # Dummy