mirror of
https://github.com/rancher/rke.git
synced 2025-09-12 21:24:00 +00:00
pin golang.org/x/sys due to breaking API change
This commit is contained in:
3
vendor/golang.org/x/sys/unix/ioctl.go
generated
vendored
3
vendor/golang.org/x/sys/unix/ioctl.go
generated
vendored
@@ -43,9 +43,6 @@ func IoctlSetTermios(fd int, req uint, value *Termios) error {
|
||||
|
||||
// IoctlGetInt performs an ioctl operation which gets an integer value
|
||||
// from fd, using the specified request number.
|
||||
//
|
||||
// A few ioctl requests use the return value as an output parameter;
|
||||
// for those, IoctlRetInt should be used instead of this function.
|
||||
func IoctlGetInt(fd int, req uint) (int, error) {
|
||||
var value int
|
||||
err := ioctl(fd, req, uintptr(unsafe.Pointer(&value)))
|
||||
|
Reference in New Issue
Block a user