aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2022-09-09 12:09:08 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2022-09-09 12:09:08 +0000
commit08e331f41bba9e4c0a241c3350c8111f633ec46e (patch)
tree6dc2681ff5588e96abb795ab6a505d971b996a4b /sys/security
parentf419a283494ca422df62d3191108d51707a23348 (diff)
downloadsrc-08e331f41bba9e4c0a241c3350c8111f633ec46e.tar.gz
src-08e331f41bba9e4c0a241c3350c8111f633ec46e.zip
mac_veriexec_parser: fix build after 7e1d3eefd410.
Sponsored by: Klara, Inc.
Diffstat (limited to 'sys/security')
-rw-r--r--sys/security/mac_veriexec_parser/mac_veriexec_parser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/mac_veriexec_parser/mac_veriexec_parser.c b/sys/security/mac_veriexec_parser/mac_veriexec_parser.c
index 88c399f85bd5..c73ee3a8e951 100644
--- a/sys/security/mac_veriexec_parser/mac_veriexec_parser.c
+++ b/sys/security/mac_veriexec_parser/mac_veriexec_parser.c
@@ -242,7 +242,7 @@ open_file(const char *path, struct nameidata *nid)
pwd_ensure_dirs();
- NDINIT(nid, LOOKUP, 0, UIO_SYSSPACE, path, curthread);
+ NDINIT(nid, LOOKUP, 0, UIO_SYSSPACE, path);
rc = vn_open(nid, &flags, 0, NULL);
NDFREE_PNBUF(nid);
if (rc != 0)