summaryrefslogtreecommitdiffstats
path: root/devices/cpu_cpu.go
diff options
context:
space:
mode:
authorSean E. Russell <ser@ser1.net>2020-08-25 08:25:39 -0500
committerSean E. Russell <ser@ser1.net>2020-08-25 08:25:39 -0500
commit72cde0545887f98e58423c1495327276daa202b5 (patch)
tree21bbad30c0434bbba95b71cd0c95e5b80fc7d873 /devices/cpu_cpu.go
parentc25e58e79c704b9e2b34e27ea342d12fa26b00b3 (diff)
parentfa9357d1ed084529e75fe7e04457c45d30843601 (diff)
Merge branch 'v4.0.2' into master
Diffstat (limited to 'devices/cpu_cpu.go')
-rw-r--r--devices/cpu_cpu.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/devices/cpu_cpu.go b/devices/cpu_cpu.go
index 1ee50f7..9847572 100644
--- a/devices/cpu_cpu.go
+++ b/devices/cpu_cpu.go
@@ -8,7 +8,7 @@ import (
func init() {
f := func(cpus map[string]int, l bool) map[string]error {
- cpuCount, err := psCpu.Counts(l)
+ cpuCount, err := CpuCount()
if err != nil {
return nil
}