summaryrefslogtreecommitdiff
path: root/sys/compat/osf1/osf1_descrip.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/compat/osf1/osf1_descrip.c')
-rw-r--r--sys/compat/osf1/osf1_descrip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/compat/osf1/osf1_descrip.c b/sys/compat/osf1/osf1_descrip.c
index 28af892eb87..e5302d41554 100644
--- a/sys/compat/osf1/osf1_descrip.c
+++ b/sys/compat/osf1/osf1_descrip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: osf1_descrip.c,v 1.4 2001/05/14 11:04:05 art Exp $ */
+/* $OpenBSD: osf1_descrip.c,v 1.5 2001/05/14 12:11:54 art Exp $ */
/* $NetBSD: osf1_descrip.c,v 1.5 1999/06/26 01:24:41 cgd Exp $ */
/*
@@ -252,7 +252,7 @@ osf1_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: