aboutsummaryrefslogtreecommitdiff
path: root/sys/security
diff options
context:
space:
mode:
authorAttilio Rao <attilio@FreeBSD.org>2009-05-11 15:33:26 +0000
committerAttilio Rao <attilio@FreeBSD.org>2009-05-11 15:33:26 +0000
commitdfd233edd5040ed82a16a0074e220188e2c67ad4 (patch)
tree6591f00318da636f44a6ceb26f517e7795eb1b44 /sys/security
parent03cc95d21a36ab2a353cbbfbcfbc5d83e4f4a6e1 (diff)
Notes
Diffstat (limited to 'sys/security')
-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 191d583f4d74..631b29ffb34f 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);