summaryrefslogtreecommitdiff
path: root/sys/miscfs
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-05-14 11:04:06 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-05-14 11:04:06 +0000
commit1d14ab3ff6a554ad76514dd6ab7007fcdb478a37 (patch)
tree76d737949c1c790e542a3ed44450aa6761e6d777 /sys/miscfs
parent71f76dd0db566ca751d290bf40f5babf7ebbf9d9 (diff)
More generic arguments to soo_stat.
Diffstat (limited to 'sys/miscfs')
-rw-r--r--sys/miscfs/fdesc/fdesc_vnops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/miscfs/fdesc/fdesc_vnops.c b/sys/miscfs/fdesc/fdesc_vnops.c
index 7d1877f2a79..0bb6d1acb90 100644
--- a/sys/miscfs/fdesc/fdesc_vnops.c
+++ b/sys/miscfs/fdesc/fdesc_vnops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fdesc_vnops.c,v 1.17 2001/05/14 10:51:27 art Exp $ */
+/* $OpenBSD: fdesc_vnops.c,v 1.18 2001/05/14 11:04:05 art Exp $ */
/* $NetBSD: fdesc_vnops.c,v 1.32 1996/04/11 11:24:29 mrg Exp $ */
/*
@@ -466,7 +466,7 @@ fdesc_attr(fd, vap, cred, p)
break;
case DTYPE_SOCKET:
- error = soo_stat((struct socket *)fp->f_data, &stb);
+ error = soo_stat(fp, &stb, p);
if (error == 0) {
vattr_null(vap);
vap->va_type = VSOCK;