summaryrefslogtreecommitdiffstats
path: root/sys/fs
diff options
context:
space:
mode:
authordfr <dfr@FreeBSD.org>1998-06-10 21:21:31 +0000
committerdfr <dfr@FreeBSD.org>1998-06-10 21:21:31 +0000
commit88b8a1bc7ee73d2c0888559ea786e38dd391f687 (patch)
tree274940083a33b5c189e9825c79971bde5b2ef735 /sys/fs
parentda6aa760cab34ad710230d46c9250a31e7081265 (diff)
downloadFreeBSD-src-88b8a1bc7ee73d2c0888559ea786e38dd391f687.zip
FreeBSD-src-88b8a1bc7ee73d2c0888559ea786e38dd391f687.tar.gz
Make these files compile.
Diffstat (limited to 'sys/fs')
-rw-r--r--sys/fs/fdescfs/fdesc_vnops.c3
-rw-r--r--sys/fs/portalfs/portal_vnops.c4
2 files changed, 4 insertions, 3 deletions
diff --git a/sys/fs/fdescfs/fdesc_vnops.c b/sys/fs/fdescfs/fdesc_vnops.c
index 8ce5f24..00ffcb5 100644
--- a/sys/fs/fdescfs/fdesc_vnops.c
+++ b/sys/fs/fdescfs/fdesc_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)fdesc_vnops.c 8.9 (Berkeley) 1/21/94
*
- * $Id: fdesc_vnops.c,v 1.35 1998/06/10 06:34:55 peter Exp $
+ * $Id: fdesc_vnops.c,v 1.36 1998/06/10 19:56:06 alex Exp $
*/
/*
@@ -500,6 +500,7 @@ fdesc_setattr(ap)
} */ *ap;
{
struct filedesc *fdp = ap->a_p->p_fd;
+ struct vattr *vap = ap->a_vap;
struct file *fp;
unsigned fd;
int error;
diff --git a/sys/fs/portalfs/portal_vnops.c b/sys/fs/portalfs/portal_vnops.c
index 46c5847..11a1e84 100644
--- a/sys/fs/portalfs/portal_vnops.c
+++ b/sys/fs/portalfs/portal_vnops.c
@@ -35,7 +35,7 @@
*
* @(#)portal_vnops.c 8.14 (Berkeley) 5/21/95
*
- * $Id: portal_vnops.c,v 1.31 1998/05/17 09:37:39 sos Exp $
+ * $Id: portal_vnops.c,v 1.32 1998/06/10 06:34:57 peter Exp $
*/
/*
@@ -497,7 +497,7 @@ portal_setattr(ap)
if (ap->a_vp->v_flag & VROOT)
return (EACCES);
- if (vap->va_flags != VNOVAL)
+ if (ap->a_vap->va_flags != VNOVAL)
return (EOPNOTSUPP);
return (0);
OpenPOWER on IntegriCloud