mac_veriexec_parser: fix build after 7e1d3eefd4.

Sponsored by:	Klara, Inc.
This commit is contained in:
Dag-Erling Smørgrav 2022-09-09 14:09:08 +02:00
parent f419a28349
commit 08e331f41b

View File

@ -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)