host: Boottime return type was wrong on darwin #40
This commit is contained in:
parent
170390c0df
commit
515398a6f6
|
@ -54,7 +54,7 @@ func HostInfo() (*HostInfoStat, error) {
|
||||||
return ret, nil
|
return ret, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func BootTime() (int64, error) {
|
func BootTime() (uint64, error) {
|
||||||
values, err := common.DoSysctrl("kern.boottime")
|
values, err := common.DoSysctrl("kern.boottime")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
|
|
Loading…
Reference in New Issue