Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Aug 2009 22:00:45 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 167053 for review
Message-ID:  <200908052200.n75M0j47017197@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=167053

Change 167053 by rwatson@rwatson_cinnamon on 2009/08/05 21:59:53

	Correct syntax bug that prevented audit_new() from ever succeeding.

Affected files ...

.. //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.c#12 edit

Differences ...

==== //depot/projects/soc2009/marinosi_appaudit/src/sys/security/audit/audit.c#12 (text) ====

@@ -312,8 +312,7 @@
 		return (NULL);
 
 	mtx_lock(&(as->audit_mtx));
-	no_record = (&(as->audit_suspended) || 
-			!(as->audit_enabled));
+	no_record = (as->audit_suspended || !as->audit_enabled);
 	mtx_unlock(&(as->audit_mtx));
 	if (no_record)
 		return (NULL);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200908052200.n75M0j47017197>