mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
fix LoadAvg definition error on Windows.
This commit is contained in:
parent
c5e37d9fdd
commit
547d722aef
@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
package gopsutil
|
package gopsutil
|
||||||
|
|
||||||
func LoadAvg() (LoadAvgStat, error) {
|
func LoadAvg() (*LoadAvgStat, error) {
|
||||||
ret := LoadAvgStat{}
|
ret := LoadAvgStat{}
|
||||||
|
|
||||||
return ret, nil
|
return &ret, NotImplementedError
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user