From 90c3615a2c5ab852a9b8d0c26397f89598a2c24e Mon Sep 17 00:00:00 2001 From: Peter Tribble Date: Thu, 17 Oct 2019 18:43:29 +0100 Subject: [PATCH] Fix solaris build. (#6149) * Fix solaris build. * Tidy up build constraints on statfs_linux_386.go Signed-off-by: Peter Tribble --- pkg/runtime/statfs.go | 2 +- pkg/runtime/statfs_default.go | 2 +- pkg/runtime/statfs_linux_386.go | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/pkg/runtime/statfs.go b/pkg/runtime/statfs.go index 43b156ea9..06522094e 100644 --- a/pkg/runtime/statfs.go +++ b/pkg/runtime/statfs.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build openbsd windows netbsd +// +build openbsd windows netbsd solaris package runtime diff --git a/pkg/runtime/statfs_default.go b/pkg/runtime/statfs_default.go index cbb55a6c1..8ce7d8339 100644 --- a/pkg/runtime/statfs_default.go +++ b/pkg/runtime/statfs_default.go @@ -11,7 +11,7 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows,!openbsd,!netbsd +// +build !windows,!openbsd,!netbsd,!solaris // +build !386 package runtime diff --git a/pkg/runtime/statfs_linux_386.go b/pkg/runtime/statfs_linux_386.go index 0f1bf43cf..ba90ca8a6 100644 --- a/pkg/runtime/statfs_linux_386.go +++ b/pkg/runtime/statfs_linux_386.go @@ -11,7 +11,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// +build !windows !openbsd !darwin !freebsd !netbsd // +build linux,386 package runtime