diff --git a/mount/mount_unix.go b/mount/mount_unix.go index 6741293f8..95da9428e 100644 --- a/mount/mount_unix.go +++ b/mount/mount_unix.go @@ -1,4 +1,4 @@ -// +build darwin freebsd +// +build darwin freebsd openbsd /* Copyright The containerd Authors. diff --git a/mount/mountinfo_freebsd.go b/mount/mountinfo_bsd.go similarity index 98% rename from mount/mountinfo_freebsd.go rename to mount/mountinfo_bsd.go index bbe79767e..8f8dbf95a 100644 --- a/mount/mountinfo_freebsd.go +++ b/mount/mountinfo_bsd.go @@ -1,3 +1,5 @@ +// +build freebsd openbsd + /* Copyright The containerd Authors. diff --git a/mount/mountinfo_unsupported.go b/mount/mountinfo_unsupported.go index eba602f1a..ae998db6b 100644 --- a/mount/mountinfo_unsupported.go +++ b/mount/mountinfo_unsupported.go @@ -1,4 +1,4 @@ -// +build !linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo +// +build !linux,!freebsd,!solaris,!openbsd freebsd,!cgo solaris,!cgo openbsd,!cgo /* Copyright The containerd Authors.