summaryrefslogtreecommitdiffstats
path: root/sys/security/audit/audit_worker.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/security/audit/audit_worker.c')
-rw-r--r--sys/security/audit/audit_worker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_worker.c b/sys/security/audit/audit_worker.c
index 191d583..631b29f 100644
--- a/sys/security/audit/audit_worker.c
+++ b/sys/security/audit/audit_worker.c
@@ -131,7 +131,7 @@ audit_record_write(struct vnode *vp, struct ucred *cred, void *data,
* that we know how we're doing on space. Consider failure of these
* operations to indicate a future inability to write to the file.
*/
- error = VFS_STATFS(vp->v_mount, mnt_stat, curthread);
+ error = VFS_STATFS(vp->v_mount, mnt_stat);
if (error)
goto fail;
vn_lock(vp, LK_EXCLUSIVE | LK_RETRY);
OpenPOWER on IntegriCloud