diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 12:11:55 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-05-14 12:11:55 +0000 |
commit | 3106734be3525f0d08bd4a41ddb7b865bdf93c4a (patch) | |
tree | 373dad1efd2936b7ac4222f3ed772a2c9d32c62f /sys/compat/osf1/osf1_descrip.c | |
parent | 87ac82944ed219984368224ddd88ce89b9f37443 (diff) |
Implement a wrapper round vn_stat that takes the same arguments
as soo_stat and pipe_stat.
Diffstat (limited to 'sys/compat/osf1/osf1_descrip.c')
-rw-r--r-- | sys/compat/osf1/osf1_descrip.c | 4 |
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: |