diff options
author | dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> | 2021-03-26 07:54:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-26 07:54:00 +0000 |
commit | b7dda21e33f9bddda9b49adbd0f18d5205b249f4 (patch) | |
tree | 2648f9d9d821e32c900aede7f776390f75ff8db6 /vendor/golang.org/x/sys/unix/syscall_solaris.go | |
parent | 9e23e0b3e3b219cbdc42fac4f843d6d2ec97421b (diff) | |
download | podman-b7dda21e33f9bddda9b49adbd0f18d5205b249f4.tar.gz podman-b7dda21e33f9bddda9b49adbd0f18d5205b249f4.tar.bz2 podman-b7dda21e33f9bddda9b49adbd0f18d5205b249f4.zip |
Bump github.com/vbauerster/mpb/v6 from 6.0.2 to 6.0.3
Bumps [github.com/vbauerster/mpb/v6](https://github.com/vbauerster/mpb) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/vbauerster/mpb/releases)
- [Commits](https://github.com/vbauerster/mpb/compare/v6.0.2...v6.0.3)
Signed-off-by: dependabot[bot] <support@github.com>
Diffstat (limited to 'vendor/golang.org/x/sys/unix/syscall_solaris.go')
-rw-r--r-- | vendor/golang.org/x/sys/unix/syscall_solaris.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/vendor/golang.org/x/sys/unix/syscall_solaris.go b/vendor/golang.org/x/sys/unix/syscall_solaris.go index 169497f06..77fcde7c1 100644 --- a/vendor/golang.org/x/sys/unix/syscall_solaris.go +++ b/vendor/golang.org/x/sys/unix/syscall_solaris.go @@ -565,7 +565,12 @@ func Minor(dev uint64) uint32 { * Expose the ioctl function */ -//sys ioctl(fd int, req uint, arg uintptr) (err error) +//sys ioctlRet(fd int, req uint, arg uintptr) (ret int, err error) = libc.ioctl + +func ioctl(fd int, req uint, arg uintptr) (err error) { + _, err = ioctlRet(fd, req, arg) + return err +} func IoctlSetTermio(fd int, req uint, value *Termio) error { err := ioctl(fd, req, uintptr(unsafe.Pointer(value))) |