Skip to content

Commit

Permalink
Fix build, I missed one NetPortAttr rename
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoack committed Jul 5, 2024
1 parent 788c6b0 commit bbc1976
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion landlock/syscall/syscall_nonlinux.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func LandlockAddPathBeneathRule(rulesetFd int, attr *PathBeneathAttr, flags int)
return syscall.ENOSYS
}

func LandlockAddNetPortRule(rulesetFD int, attr *NetServiceAttr, flags int) error {
func LandlockAddNetPortRule(rulesetFD int, attr *NetPortAttr, flags int) error {
return syscall.ENOSYS
}

Expand Down

0 comments on commit bbc1976

Please sign in to comment.