changeset 251 | 1c52a0eeb952 |
parent 242 | 2a9ec03fe5a1 |
child 256 | 6d9efbef00a9 |
--- a/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go Wed Sep 18 19:17:42 2019 +0200 +++ b/vendor/golang.org/x/sys/unix/syscall_openbsd_amd64.go Sun Feb 16 18:54:01 2020 +0100 @@ -28,6 +28,10 @@ msghdr.Controllen = uint32(length) } +func (msghdr *Msghdr) SetIovlen(length int) { + msghdr.Iovlen = uint32(length) +} + func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint32(length) }