mirror of
https://github.com/librenms/librenms-agent.git
synced 2024-05-09 09:54:52 +00:00
Repair error
When running this script, I get: Useless use of multiplication (*) in void context at ./zfs-freebsd line 163
This commit is contained in:
+1
-1
@@ -160,7 +160,7 @@ my $actual_hit_percent = $real_hits / $arc_accesses_total * 100;
|
||||
|
||||
my $data_demand_percent = 0;
|
||||
if ( $demand_data_total != 0 ){
|
||||
$demand_data_hits / $demand_data_total * 100;
|
||||
$demand_data_hits /= $demand_data_total * 100;
|
||||
}
|
||||
|
||||
my $data_prefetch_percent=0;
|
||||
|
||||
Reference in New Issue
Block a user