diff options
Diffstat (limited to 'src/runtime/sys_openbsd2.go')
| -rw-r--r-- | src/runtime/sys_openbsd2.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/runtime/sys_openbsd2.go b/src/runtime/sys_openbsd2.go index 33032596c3..91ed04fb48 100644 --- a/src/runtime/sys_openbsd2.go +++ b/src/runtime/sys_openbsd2.go @@ -2,7 +2,8 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build openbsd,amd64 openbsd,arm64 +//go:build (openbsd && 386) || (openbsd && amd64) || (openbsd && arm64) +// +build openbsd,386 openbsd,amd64 openbsd,arm64 package runtime @@ -161,7 +162,7 @@ func nanotime1() int64 { func clock_gettime_trampoline() //go:nosplit -func walltime1() (int64, int32) { +func walltime() (int64, int32) { var ts timespec args := struct { clock_id int32 |
