summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2024-06-29 00:10:56 -0400
committerIan Moffett <ian@osmora.org>2024-06-29 00:10:56 -0400
commitcb79be6891edb267383328557d1a46e86181075d (patch)
treebe003eba8929692cdbd4bc78d2f80d59cbf553d1
parent00aa0a0eb1c197d45701e4faa321cd7e256a5bfe (diff)
kernel: elf: nd.vp -> vp
Signed-off-by: Ian Moffett <ian@osmora.org>
-rw-r--r--sys/kern/exec_elf64.c2
1 files changed, 1 insertions, 1 deletions
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;