summaryrefslogtreecommitdiff
path: root/sys/compat/linux/linux_file.c
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>2003-01-12 01:37:13 +0000
committerMatthew Dillon <dillon@FreeBSD.org>2003-01-12 01:37:13 +0000
commitcd72f2180bfff020d03180e6eba1c3a0e0125468 (patch)
tree19da0d56c468b8e0f6d0361d7d39157f561aa69f /sys/compat/linux/linux_file.c
parent1bd6f83d4d49a87f27dbfe50f9717a182e9f1f47 (diff)
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
-rw-r--r--sys/compat/linux/linux_file.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c
index 3cf3bc52e957..1058d492ef2c 100644
--- a/sys/compat/linux/linux_file.c
+++ b/sys/compat/linux/linux_file.c
@@ -270,7 +270,7 @@ getdents_common(struct thread *td, struct linux_getdents64_args *args,
return (EBADF);
}
- vp = (struct vnode *) fp->f_data;
+ vp = fp->un_data.vnode;
if (vp->v_type != VDIR) {
fdrop(fp, td);
return (EINVAL);