summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>1997-11-08 19:56:27 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>1997-11-08 19:56:27 +0000
commitd363600bd112d031bc1c327c5e02ea9129032cf9 (patch)
tree2bdd5f64e38fa71d3b7fd38113f1a08785f8879e /sys
parent6b1a161763f883ca298932071c682e8c707ca78e (diff)
VOP_UNLOCK now takes 3 args.
Diffstat (limited to 'sys')
-rw-r--r--sys/netccitt/pk_acct.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netccitt/pk_acct.c b/sys/netccitt/pk_acct.c
index e77b63f79e8..097e954ee50 100644
--- a/sys/netccitt/pk_acct.c
+++ b/sys/netccitt/pk_acct.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pk_acct.c,v 1.2 1996/03/04 07:36:38 niklas Exp $ */
+/* $OpenBSD: pk_acct.c,v 1.3 1997/11/08 19:56:26 millert Exp $ */
/* $NetBSD: pk_acct.c,v 1.9 1996/02/13 22:05:11 christos Exp $ */
/*
@@ -80,7 +80,7 @@ pk_accton (path)
if ((error = vn_open (&nd, FWRITE, 0644)) != 0)
return (error);
vp = nd.ni_vp;
- VOP_UNLOCK(vp);
+ VOP_UNLOCK(vp, 0, p);
if (vp -> v_type != VREG) {
vrele (vp);
return (EACCES);