aboutsummaryrefslogtreecommitdiff
path: root/sys/security/audit/audit_arg.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit/audit_arg.c')
-rw-r--r--sys/security/audit/audit_arg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/audit/audit_arg.c b/sys/security/audit/audit_arg.c
index 13fd16f2ea38..f50d77281095 100644
--- a/sys/security/audit/audit_arg.c
+++ b/sys/security/audit/audit_arg.c
@@ -690,7 +690,7 @@ audit_arg_file(struct proc *p, struct file *fp)
vp = fp->f_vnode;
vn_lock(vp, LK_SHARED | LK_RETRY);
audit_arg_vnode1(vp);
- VOP_UNLOCK(vp, 0);
+ VOP_UNLOCK(vp);
break;
case DTYPE_SOCKET:
@@ -978,6 +978,6 @@ audit_sysclose(struct thread *td, int fd)
vp = fp->f_vnode;
vn_lock(vp, LK_SHARED | LK_RETRY);
audit_arg_vnode1(vp);
- VOP_UNLOCK(vp, 0);
+ VOP_UNLOCK(vp);
fdrop(fp, td);
}