fix the return value struct.

pull/4/head
WAKAYAMA Shirou 11 years ago
parent 5b605dc1a3
commit f16e9efb2e

@ -6,9 +6,9 @@ import (
"fmt"
)
func (c CPU) Cpu_times() map[string]string {
ret := make(map[string]string)
func (c CPU) Cpu_times() ([]CPU_Times, error) {
ret := make([]CPU_Times, 0)
fmt.Println("FreeBSD")
return ret
return ret, nil
}

Loading…
Cancel
Save