From 547d722aef123d3483f9045aacfa8d298dc596f7 Mon Sep 17 00:00:00 2001 From: WAKAYAMA Shirou Date: Tue, 26 Aug 2014 23:56:38 +0900 Subject: [PATCH] fix LoadAvg definition error on Windows. --- load_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/load_windows.go b/load_windows.go index f684ef1..4d15220 100644 --- a/load_windows.go +++ b/load_windows.go @@ -2,8 +2,8 @@ package gopsutil -func LoadAvg() (LoadAvgStat, error) { +func LoadAvg() (*LoadAvgStat, error) { ret := LoadAvgStat{} - return ret, nil + return &ret, NotImplementedError }