aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/github.com/rs/xid/hostid_freebsd.go
blob: be25a039e94d02f64eb4777405fca76f78368a37 (plain) (blame)
1
2
3
4
5
6
7
8
9
// +build freebsd

package xid

import "syscall"

func readPlatformMachineID() (string, error) {
	return syscall.Sysctl("kern.hostuuid")
}