diff options
| author | Robert Watson <rwatson@FreeBSD.org> | 2008-10-31 15:11:01 +0000 |
|---|---|---|
| committer | Robert Watson <rwatson@FreeBSD.org> | 2008-10-31 15:11:01 +0000 |
| commit | 1a0edb10cad225869cc9b08f6c95bc05f18a9273 (patch) | |
| tree | 7d82acff8db5aba70e495ff616a353936c9b3bee /sys/security | |
| parent | c2911a7ac05e111828741b407c2b349b596deecc (diff) | |
Notes
Diffstat (limited to 'sys/security')
| -rw-r--r-- | sys/security/audit/audit_pipe.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c index 12382fa6319b..1989a1d26824 100644 --- a/sys/security/audit/audit_pipe.c +++ b/sys/security/audit/audit_pipe.c @@ -144,7 +144,6 @@ struct audit_pipe { u_int64_t ap_inserts; /* Records added. */ u_int64_t ap_reads; /* Records read. */ u_int64_t ap_drops; /* Records dropped. */ - u_int64_t ap_truncates; /* Records too long. */ /* * Fields relating to pipe interest: global masks for unmatched @@ -920,7 +919,7 @@ audit_pipe_ioctl(struct cdev *dev, u_long cmd, caddr_t data, int flag, break; case AUDITPIPE_GET_TRUNCATES: - *(u_int *)data = ap->ap_truncates; + *(u_int *)data = 0; error = 0; break; |
