summaryrefslogtreecommitdiff
path: root/sys/compat/common/vfs_syscalls_43.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-14 12:11:55 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-14 12:11:55 +0000
commit3106734be3525f0d08bd4a41ddb7b865bdf93c4a (patch)
tree373dad1efd2936b7ac4222f3ed772a2c9d32c62f /sys/compat/common/vfs_syscalls_43.c
parent87ac82944ed219984368224ddd88ce89b9f37443 (diff)
Implement a wrapper round vn_stat that takes the same arguments
as soo_stat and pipe_stat.
Diffstat (limited to 'sys/compat/common/vfs_syscalls_43.c')
-rw-r--r--sys/compat/common/vfs_syscalls_43.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/common/vfs_syscalls_43.c b/sys/compat/common/vfs_syscalls_43.c
index 466dfb3d3cc..0a5aa07e8b6 100644
--- a/sys/compat/common/vfs_syscalls_43.c
+++ b/sys/compat/common/vfs_syscalls_43.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: vfs_syscalls_43.c,v 1.12 2001/05/14 11:04:04 art Exp $ */
+/* $OpenBSD: vfs_syscalls_43.c,v 1.13 2001/05/14 12:11:53 art Exp $ */
/* $NetBSD: vfs_syscalls_43.c,v 1.4 1996/03/14 19:31:52 christos Exp $ */
/*
@@ -202,7 +202,7 @@ compat_43_sys_fstat(p, v, retval)
switch (fp->f_type) {
case DTYPE_VNODE:
- error = vn_stat((struct vnode *)fp->f_data, &ub, p);
+ error = vn_statfile(fp, &ub, p);
break;
case DTYPE_SOCKET: