diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-06-05 22:17:49 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-06-06 09:12:42 +1000 |
commit | 82022615ddc25ec5bc0631894e32d8dda380eac2 (patch) | |
tree | b609c448557e23d9ce4efbd1eb1e3aee41667f70 /vendor/golang.org/x/sys/unix/syscall_linux_s390x.go | |
parent | fb395bca6eedfc44afb04ad26005a45e7b7dfea9 (diff) |
bump tcell
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_linux_s390x.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_linux_s390x.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go index a1e45694b..a1c0574b5 100644 --- a/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go +++ b/vendor/golang.org/x/sys/unix/syscall_linux_s390x.go @@ -129,6 +129,10 @@ func (cmsg *Cmsghdr) SetLen(length int) { cmsg.Len = uint64(length) } +func (rsa *RawSockaddrNFCLLCP) SetServiceNameLen(length int) { + rsa.Service_name_len = uint64(length) +} + // Linux on s390x uses the old mmap interface, which requires arguments to be passed in a struct. // mmap2 also requires arguments to be passed in a struct; it is currently not exposed in <asm/unistd.h>. func mmap(addr uintptr, length uintptr, prot int, flags int, fd int, offset int64) (xaddr uintptr, err error) { |