summaryrefslogtreecommitdiff
path: root/sys/kern/kern_descrip.c
diff options
context:
space:
mode:
authorIan Moffett <ian@osmora.org>2025-07-11 15:34:23 -0400
committerIan Moffett <ian@osmora.org>2025-07-11 15:50:19 -0400
commit9a4db42e2d74f44ec64dac249e9511cf787e9b1f (patch)
tree96323905799fc99b7857a5c5282f05b8e4dbe88f /sys/kern/kern_descrip.c
parent77ab2cfae85638aa375c68546aa895af9e2c3fad (diff)
kernel: vnode: Refactor definitions
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'sys/kern/kern_descrip.c')
-rw-r--r--sys/kern/kern_descrip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/kern_descrip.c b/sys/kern/kern_descrip.c
index 0fb026f..b5ff144 100644
--- a/sys/kern/kern_descrip.c
+++ b/sys/kern/kern_descrip.c
@@ -351,7 +351,7 @@ fd_seek(int fildes, off_t offset, int whence)
getattr_args.vp = tmp->vp;
getattr_args.res = &attr;
- if ((vfs_vop_getattr(tmp->vp, &getattr_args)) < 0) {
+ if ((vfs_vop_getattr(&getattr_args)) < 0) {
return -EPIPE;
}