host: Boottime return type was wrong on darwin #40

This commit is contained in:
Shirou WAKAYAMA 2015-03-12 09:24:27 +09:00
parent 170390c0df
commit 515398a6f6
1 changed files with 1 additions and 1 deletions

View File

@ -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