From 0bc98b3e9b3b6b55489bb9ffed54377e678eba28 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 5 Nov 2021 17:09:22 +0100 Subject: [PATCH] syscall: fix mkall.sh for openbsd/386 CL 287654 converted the syscall package on openbsd/386 to use libc. However, the mksyscall.pl invocation wasn't adjusted. Do so now to use syscall_openbsd_libc.go like the other libc-based openbsd ports. Change-Id: I48a7bd6ce4c25eca5222f560ed584e412b466111 Reviewed-on: https://go-review.googlesource.com/c/go/+/361481 Trust: Tobias Klauser Run-TryBot: Tobias Klauser TryBot-Result: Go Bot Reviewed-by: Brad Fitzpatrick Reviewed-by: Cherry Mui --- src/syscall/mkall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/syscall/mkall.sh b/src/syscall/mkall.sh index dffb52864ba..5fc91d38158 100755 --- a/src/syscall/mkall.sh +++ b/src/syscall/mkall.sh @@ -283,7 +283,7 @@ netbsd_arm64) mktypes="GOARCH=$GOARCH go tool cgo -godefs" ;; openbsd_386) - GOOSARCH_in="syscall_openbsd1.go syscall_openbsd_$GOARCH.go" + GOOSARCH_in="syscall_openbsd_libc.go syscall_openbsd_$GOARCH.go" mkerrors="$mkerrors -m32" mksyscall="./mksyscall.pl -l32 -openbsd -libc" mksysctl="./mksysctl_openbsd.pl"