summaryrefslogblamecommitdiffstats
path: root/vendor/github.com/rs/xid/hostid_freebsd.go
blob: df2bd13c514057aeced5c2aad8d8c64f989c943a (plain) (tree)
1
2
3
4
5
6
7
8
9







                                              
// +build freebsd

package xid

import "golang.org/x/sys/unix"

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