diff options
author | bde <bde@FreeBSD.org> | 1995-08-17 11:53:51 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1995-08-17 11:53:51 +0000 |
commit | 36cc023d9ca34f0218a032bc1cd12274f26458a2 (patch) | |
tree | 13b18347601be8df22a169212dd8e4e199348ea2 /sys/kern/vfs_extattr.c | |
parent | 1feff3c3bcaf280578db12f153211ddf11cc31fc (diff) | |
download | FreeBSD-src-36cc023d9ca34f0218a032bc1cd12274f26458a2.zip FreeBSD-src-36cc023d9ca34f0218a032bc1cd12274f26458a2.tar.gz |
The `cred' and `proc' args were missing for some VOP_OPEN() and VOP_CLOSE()
calls.
Found by: gcc -Wstrict-prototypes after I supplied some of the 5000+
missing prototypes. Now I have 9000+ lines of warnings and errors
about bogus conversions of function pointers.
Diffstat (limited to 'sys/kern/vfs_extattr.c')
-rw-r--r-- | sys/kern/vfs_extattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/vfs_extattr.c b/sys/kern/vfs_extattr.c index 8d6eca1..33f9ce5 100644 --- a/sys/kern/vfs_extattr.c +++ b/sys/kern/vfs_extattr.c @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)vfs_syscalls.c 8.13 (Berkeley) 4/15/94 - * $Id: vfs_syscalls.c,v 1.30 1995/08/01 18:50:39 davidg Exp $ + * $Id: vfs_syscalls.c,v 1.31 1995/08/11 11:31:08 davidg Exp $ */ #include <sys/param.h> @@ -2145,7 +2145,7 @@ unionread: vp = union_lowervp(vp); if (vp != NULLVP) { VOP_LOCK(vp); - error = VOP_OPEN(vp, FREAD); + error = VOP_OPEN(vp, FREAD, fp->f_cred, p); VOP_UNLOCK(vp); if (error) { |