fix LoadAvg definition error on Windows.
This commit is contained in:
parent
c5e37d9fdd
commit
547d722aef
|
@ -2,8 +2,8 @@
|
|||
|
||||
package gopsutil
|
||||
|
||||
func LoadAvg() (LoadAvgStat, error) {
|
||||
func LoadAvg() (*LoadAvgStat, error) {
|
||||
ret := LoadAvgStat{}
|
||||
|
||||
return ret, nil
|
||||
return &ret, NotImplementedError
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue