Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Dec 27, 2024
1 parent bd365c4 commit 67537ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/chattr/chattr.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 67537ef

Please sign in to comment.