git: 08e331f41bba - main - mac_veriexec_parser: fix build after 7e1d3eefd410.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Sep 2022 12:12:06 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=08e331f41bba9e4c0a241c3350c8111f633ec46e
commit 08e331f41bba9e4c0a241c3350c8111f633ec46e
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2022-09-09 12:09:08 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2022-09-09 12:09:08 +0000
mac_veriexec_parser: fix build after 7e1d3eefd410.
Sponsored by: Klara, Inc.
---
sys/security/mac_veriexec_parser/mac_veriexec_parser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)