1
0
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:
Sebastiaan van Steenis
2020-08-18 14:11:05 +02:00
parent cebb7ff4fd
commit 5241360abb
210 changed files with 36556 additions and 46867 deletions

View File

@@ -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)))