diff options
| author | Konstantin Belousov <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
|---|---|---|
| committer | Konstantin Belousov <kib@FreeBSD.org> | 2007-06-01 14:33:11 +0000 |
| commit | 7a31868ed046c0ad6bb5dff5e663063750135cbb (patch) | |
| tree | 1977c9c1875b36aa303327d67bf46167ab478c50 /sys/security | |
| parent | e1070b644c68d06c25c1120b643e17ab311b34fe (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_syscalls.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/security/audit/audit_syscalls.c b/sys/security/audit/audit_syscalls.c index 3e3069e959c2..cba0aa726932 100644 --- a/sys/security/audit/audit_syscalls.c +++ b/sys/security/audit/audit_syscalls.c @@ -646,7 +646,7 @@ auditctl(struct thread *td, struct auditctl_args *uap) NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | MPSAFE | AUDITVNODE1, UIO_USERSPACE, uap->path, td); flags = AUDIT_OPEN_FLAGS; - error = vn_open(&nd, &flags, 0, -1); + error = vn_open(&nd, &flags, 0, NULL); if (error) return (error); vfslocked = NDHASGIANT(&nd); |
