summaryrefslogtreecommitdiffstats
path: root/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
diff options
context:
space:
mode:
authorGlenn Vriesman <glenn.vriesman@gmail.com>2019-11-10 13:16:17 +0100
committerJesse Duffield <jessedduffield@gmail.com>2019-11-10 23:23:20 +1100
commit3f7e107d09a675b28783584d3643ee112206d905 (patch)
treed8622a53c93e2d89e9e3ddf1b0a647a28b6fa752 /vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
parent22c0d79e2dbb8a6792664e1a56fa91f28592bbc0 (diff)
Vendor: Updated dependenciesv0.10.2
* Updated go.mod * Updated go.sum * Updated vendor packages Signed-off-by: Glenn Vriesman <glenn.vriesman@gmail.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
index 9c945a657..321c3bace 100644
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_amd64.go
@@ -33,6 +33,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)
}