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_solaris_amd64.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go') diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go index 91c32dd..0bd25ef 100644 --- a/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.go +++ b/vendor/golang.org/x/sys/unix/syscall_solaris_amd64.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 amd64 && solaris // +build amd64,solaris package unix @@ -18,6 +19,10 @@ func (iov *Iovec) SetLen(length int) { iov.Len = uint64(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