Use struct kaudit_queue instead of a hand-crafted queue type for

audit records in the audit_worker thread.

Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2006-06-05 13:45:05 +00:00
parent 40c96d7279
commit b3ae6323f0

View File

@ -394,7 +394,7 @@ audit_worker_drain(void)
static void
audit_worker(void *arg)
{
TAILQ_HEAD(, kaudit_record) ar_worklist;
struct kaudit_queue ar_worklist;
struct kaudit_record *ar;
struct ucred *audit_cred;
struct thread *audit_td;