From cb79be6891edb267383328557d1a46e86181075d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 29 Jun 2024 00:10:56 -0400 Subject: kernel: elf: nd.vp -> vp Signed-off-by: Ian Moffett --- sys/kern/exec_elf64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/kern/exec_elf64.c b/sys/kern/exec_elf64.c index 568c7c8..8367ae5 100644 --- a/sys/kern/exec_elf64.c +++ b/sys/kern/exec_elf64.c @@ -75,7 +75,7 @@ elf_get_file(const char *pathname, struct elf_file *res) getattr_args.res = &vattr; getattr_args.vp = vp; - status = vfs_vop_getattr(nd.vp, &getattr_args); + status = vfs_vop_getattr(vp, &getattr_args); if (status != 0) goto done; -- cgit v1.2.3