diff --git a/load/load_linux.go b/load/load_linux.go index 0859397..2a1c5ea 100644 --- a/load/load_linux.go +++ b/load/load_linux.go @@ -31,11 +31,11 @@ func sysinfoAvgWithContext(ctx context.Context) (*AvgStat, error) { return nil, err } - const si_load_shift = 16 + const siLoadShift = 16 return &AvgStat{ - Load1: float64(info.Loads[0]) / float64(1<