summaryrefslogtreecommitdiffstats
path: root/sys/fs/unionfs/union_subr.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1995-08-17 11:53:51 +0000
committerbde <bde@FreeBSD.org>1995-08-17 11:53:51 +0000
commit36cc023d9ca34f0218a032bc1cd12274f26458a2 (patch)
tree13b18347601be8df22a169212dd8e4e199348ea2 /sys/fs/unionfs/union_subr.c
parent1feff3c3bcaf280578db12f153211ddf11cc31fc (diff)
downloadFreeBSD-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/fs/unionfs/union_subr.c')
-rw-r--r--sys/fs/unionfs/union_subr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/fs/unionfs/union_subr.c b/sys/fs/unionfs/union_subr.c
index cbbd171..7d51365 100644
--- a/sys/fs/unionfs/union_subr.c
+++ b/sys/fs/unionfs/union_subr.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)union_subr.c 8.4 (Berkeley) 2/17/94
- * $Id: union_subr.c,v 1.5 1994/10/10 07:55:46 phk Exp $
+ * $Id: union_subr.c,v 1.6 1995/05/30 08:07:25 rgrimes Exp $
*/
#include <sys/param.h>
@@ -716,7 +716,7 @@ union_vn_close(vp, fmode, cred, p)
{
if (fmode & FWRITE)
--vp->v_writecount;
- return (VOP_CLOSE(vp, fmode));
+ return (VOP_CLOSE(vp, fmode, cred, p));
}
void
OpenPOWER on IntegriCloud