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_dragonfly_amd64.go | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go') diff --git a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go b/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go index 9babb31..4e2d321 100644 --- a/vendor/golang.org/x/sys/unix/syscall_dragonfly_amd64.go +++ b/vendor/golang.org/x/sys/unix/syscall_dragonfly_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 && dragonfly // +build amd64,dragonfly package unix @@ -33,6 +34,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