From 67537ef617193f0cbb49aecbd4d8e85dbeb2aca3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=97=E5=AD=90?= Date: Fri, 27 Dec 2024 13:01:05 +0800 Subject: [PATCH] fix: build --- pkg/chattr/chattr.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/chattr/chattr.go b/pkg/chattr/chattr.go index 455dbac0a5..dfa439a296 100644 --- a/pkg/chattr/chattr.go +++ b/pkg/chattr/chattr.go @@ -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) }