From d35e5fb09bfac1fa381e4ed004ea24a6025e36f4 Mon Sep 17 00:00:00 2001 From: Sandro Jäckel Date: Fri, 1 Apr 2022 14:08:42 +0200 Subject: Bump to go 1.17 and update all dependencies --- vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go') diff --git a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go index f343446..fc6ccfd 100644 --- a/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go +++ b/vendor/golang.org/x/sys/unix/syscall_netbsd_arm64.go @@ -2,6 +2,7 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. +//go:build arm64 && netbsd // +build arm64,netbsd package unix @@ -28,6 +29,10 @@ func (msghdr *Msghdr) SetControllen(length int) { msghdr.Controllen = uint32(length) } +func (msghdr *Msghdr) SetIovlen(length int) { + msghdr.Iovlen = int32(length) +} + func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) } -- cgit v1.3.1