From 2dee31930c9977af2a9fcb518fb9838aa609a7cf Mon Sep 17 00:00:00 2001 From: Mathijs de Bruin Date: Tue, 1 Jun 2021 09:50:54 +0100 Subject: [PATCH] metrics: use golang.org/x/sys/unix to support Solaris (#22584) Fixes #11113 Co-authored-by: rene <41963722+renaynay@users.noreply.github.com> --- metrics/cpu_syscall.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/metrics/cpu_syscall.go b/metrics/cpu_syscall.go index e245453e82..50e04ef1d3 100644 --- a/metrics/cpu_syscall.go +++ b/metrics/cpu_syscall.go @@ -19,7 +19,7 @@ package metrics import ( - "syscall" + syscall "golang.org/x/sys/unix" "github.com/ethereum/go-ethereum/log" )