2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 00:49:22 +08:00

fix: build

This commit is contained in:
耗子
2024-12-27 13:01:05 +08:00
parent bd365c4e15
commit 67537ef617

View File

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