diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-18 17:17:26 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-18 17:17:26 +0000 |
commit | 5e4d72943448d0e7ff5ea94c133e08fdaf0a5969 (patch) | |
tree | d8f32488e387734e7422dd6aa0094df3d72fd270 /vendor/golang.org/x/sys/unix/syscall_illumos.go | |
parent | d890c4d98edcd2ed6f5f26bb19ed2282cea1cb46 (diff) | |
parent | 1aafb01a9950c5d2c46278cf22488b9acfeaab00 (diff) | |
download | podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.tar.gz podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.tar.bz2 podman-5e4d72943448d0e7ff5ea94c133e08fdaf0a5969.zip |
Merge pull request #14890 from rhatdan/VENDOR
Vendor in containers/(storage,image, common, buildah)
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_illumos.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_illumos.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_illumos.go b/vendor/golang.org/x/sys/unix/syscall_illumos.go index 8d5f294c4..e48244a9c 100644 --- a/vendor/golang.org/x/sys/unix/syscall_illumos.go +++ b/vendor/golang.org/x/sys/unix/syscall_illumos.go @@ -20,10 +20,9 @@ func bytes2iovec(bs [][]byte) []Iovec { for i, b := range bs { iovecs[i].SetLen(len(b)) if len(b) > 0 { - // somehow Iovec.Base on illumos is (*int8), not (*byte) - iovecs[i].Base = (*int8)(unsafe.Pointer(&b[0])) + iovecs[i].Base = &b[0] } else { - iovecs[i].Base = (*int8)(unsafe.Pointer(&_zero)) + iovecs[i].Base = (*byte)(unsafe.Pointer(&_zero)) } } return iovecs |