Codebase list golang-golang-x-sys / 097ba2f
unix: fix build on solaris after CL 259637 The build on illumos and solaris currently fails with: unix/syscall_solaris.go:558:6: no new variables on left side of := Fix this by dropping the named return value. Change-Id: Ie29956ba08fd107f380fe432cc85f120d66057b5 Reviewed-on: https://go-review.googlesource.com/c/sys/+/259581 Trust: Tobias Klauser <tobias.klauser@gmail.com> Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Matt Layher <mdlayher@gmail.com> Tobias Klauser authored 3 years ago Tobias Klauser committed 3 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
553553
554554 //sys ioctl(fd int, req uint, arg uintptr) (err error)
555555
556 func IoctlSetTermio(fd int, req uint, value *Termio) (err error) {
556 func IoctlSetTermio(fd int, req uint, value *Termio) error {
557557 err := ioctl(fd, req, uintptr(unsafe.Pointer(value)))
558558 runtime.KeepAlive(value)
559559 return err