summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2006-02-07 14:46:26 +0000
committerRobert Watson <rwatson@FreeBSD.org>2006-02-07 14:46:26 +0000
commit860ae58e3f6189778c16c6f5c975b47e338be71c (patch)
tree1906597a0207c49bfb8d01cc7ff4b39c21b39675
parentee439c43aedf4cb52d2b1991ac2313816cbd4fd2 (diff)
downloadsrc-test2-860ae58e3f6189778c16c6f5c975b47e338be71c.tar.gz
src-test2-860ae58e3f6189778c16c6f5c975b47e338be71c.zip
Notes
-rw-r--r--sys/security/audit/audit_pipe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/security/audit/audit_pipe.c b/sys/security/audit/audit_pipe.c
index 25c6a7eea38a..0ce6060692bb 100644
--- a/sys/security/audit/audit_pipe.c
+++ b/sys/security/audit/audit_pipe.c
@@ -198,6 +198,7 @@ audit_pipe_append(struct audit_pipe *ap, void *record, u_int record_len)
ape_remove = TAILQ_FIRST(&ap->ap_queue);
TAILQ_REMOVE(&ap->ap_queue, ape_remove, ape_queue);
audit_pipe_entry_free(ape_remove);
+ ap->ap_qlen--;
ap->ap_drops++;
audit_pipe_drops++;
}