aboutsummaryrefslogtreecommitdiff
path: root/sys/security/audit/audit_arg.c
diff options
context:
space:
mode:
authorMateusz Guzik <mjg@FreeBSD.org>2015-06-16 13:09:18 +0000
committerMateusz Guzik <mjg@FreeBSD.org>2015-06-16 13:09:18 +0000
commit4da8456f0aef1e189beee8bb09181ee510eeeee1 (patch)
tree15e657e125a980a05b63ad49c2f534d1a717de10 /sys/security/audit/audit_arg.c
parent0e4cd4a2e0eb515cd0e3f0e935704388c46030f6 (diff)
downloadsrc-4da8456f0aef1e189beee8bb09181ee510eeeee1.tar.gz
src-4da8456f0aef1e189beee8bb09181ee510eeeee1.zip
Notes
Diffstat (limited to 'sys/security/audit/audit_arg.c')
-rw-r--r--sys/security/audit/audit_arg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_arg.c b/sys/security/audit/audit_arg.c
index d17445f8d341..c006b90f049d 100644
--- a/sys/security/audit/audit_arg.c
+++ b/sys/security/audit/audit_arg.c
@@ -908,7 +908,7 @@ audit_sysclose(struct thread *td, int fd)
audit_arg_fd(fd);
- if (getvnode(td->td_proc->p_fd, fd, cap_rights_init(&rights), &fp) != 0)
+ if (getvnode(td, fd, cap_rights_init(&rights), &fp) != 0)
return;
vp = fp->f_vnode;