diff options
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/exec_elf64.c | 2 |
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; |