mirror of
https://github.com/kairos-io/kairos-agent.git
synced 2025-09-07 20:10:04 +00:00
robot: Make linter happy
This commit is contained in:
committed by
Itxaka
parent
1a12a26876
commit
b62a3fc892
@@ -7,6 +7,6 @@ import (
|
||||
)
|
||||
|
||||
func setWinsize(f *os.File, w, h int) {
|
||||
syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ),
|
||||
uintptr(unsafe.Pointer(&struct{ h, w, x, y uint16 }{uint16(h), uint16(w), 0, 0})))
|
||||
syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), uintptr(syscall.TIOCSWINSZ), //nolint:errcheck
|
||||
uintptr(unsafe.Pointer(&struct{ h, w, x, y uint16 }{uint16(h), uint16(w), 0, 0}))) //nolint:errcheck
|
||||
}
|
||||
|
Reference in New Issue
Block a user