summaryrefslogtreecommitdiff
path: root/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
diff options
context:
space:
mode:
authorValentin Rothberg <vrothberg@redhat.com>2022-07-21 09:58:18 +0200
committerMatthew Heon <matthew.heon@pm.me>2022-07-26 13:51:56 -0400
commitdc1dc46006f890f02d9e61ae5ce9caf1a7a2cd60 (patch)
treed12a66321949306ae43c9e609fecdd775f706f2f /vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
parent2350ef9dd4c0ffc7c92583b33f63da0bc9502bba (diff)
downloadpodman-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_arm.go')
-rw-r--r--vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
index 1e36d39ab..cd58f1026 100644
--- a/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.go
+++ b/vendor/golang.org/x/sys/unix/syscall_freebsd_arm.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: uint32(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
}