diff -Naur audit-1.5.3.orig/src/auditd.c audit-1.5.3/src/auditd.c
--- audit-1.5.3.orig/src/auditd.c	2008-07-23 14:06:01.000000000 -0400
+++ audit-1.5.3/src/auditd.c	2008-07-23 14:06:26.000000000 -0400
@@ -158,7 +158,7 @@
 		rep->reply.len = DMSG_SIZE;
 
 	enqueue_event(rep);
-	pthread_yield(); /* Give the other thread a chance to log it. */
+	sched_yield(); /* Give the other thread a chance to log it. */
 
 	return 0;
 }
