diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-07-21 09:58:18 +0200 |
---|---|---|
committer | Matthew Heon <matthew.heon@pm.me> | 2022-07-26 13:51:56 -0400 |
commit | dc1dc46006f890f02d9e61ae5ce9caf1a7a2cd60 (patch) | |
tree | d12a66321949306ae43c9e609fecdd775f706f2f /vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go | |
parent | 2350ef9dd4c0ffc7c92583b33f63da0bc9502bba (diff) | |
download | podman-dc1dc46006f890f02d9e61ae5ce9caf1a7a2cd60.tar.gz podman-dc1dc46006f890f02d9e61ae5ce9caf1a7a2cd60.tar.bz2 podman-dc1dc46006f890f02d9e61ae5ce9caf1a7a2cd60.zip |
podman-remote pull: fix duplicate progress outputs
By vendoring the fixes from containers/image. Also add a test (thanks
@edsantiago) to make sure we won't regress in the future again.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go index a09a1537b..d6f538f9e 100644 --- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go +++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm64.go @@ -58,6 +58,6 @@ func Syscall9(num, a1, a2, a3, a4, a5, a6, a7, a8, a9 uintptr) (r1, r2 uintptr, func PtraceIO(req int, pid int, addr uintptr, out []byte, countin int) (count int, err error) { ioDesc := PtraceIoDesc{Op: int32(req), Offs: (*byte)(unsafe.Pointer(addr)), Addr: (*byte)(unsafe.Pointer(&out[0])), Len: uint64(countin)} - err = ptrace(PTRACE_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) + err = ptrace(PT_IO, pid, uintptr(unsafe.Pointer(&ioDesc)), 0) return int(ioDesc.Len), err } |