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)