From 515398a6f6a716dd1fc6952a026301ee11f37eeb Mon Sep 17 00:00:00 2001 From: Shirou WAKAYAMA Date: Thu, 12 Mar 2015 09:24:27 +0900 Subject: [PATCH] host: Boottime return type was wrong on darwin #40 --- host/host_darwin.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/host/host_darwin.go b/host/host_darwin.go index 1d7efda..6e85dd0 100644 --- a/host/host_darwin.go +++ b/host/host_darwin.go @@ -54,7 +54,7 @@ func HostInfo() (*HostInfoStat, error) { return ret, nil } -func BootTime() (int64, error) { +func BootTime() (uint64, error) { values, err := common.DoSysctrl("kern.boottime") if err != nil { return 0, err