mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 00:49:22 +08:00
fix: build
This commit is contained in:
@@ -68,7 +68,7 @@ const (
|
||||
|
||||
func ioctl(f *os.File, request uintptr, attrp *uint32) error {
|
||||
argp := uintptr(unsafe.Pointer(attrp))
|
||||
_, _, errno := syscall.SyscallN(syscall.SYS_IOCTL, f.Fd(), request, argp)
|
||||
_, _, errno := syscall.Syscall(syscall.SYS_IOCTL, f.Fd(), request, argp)
|
||||
if errno != 0 {
|
||||
return os.NewSyscallError("ioctl", errno)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user