PERFORCE change 91160 for review

Robert Watson rwatson at FreeBSD.org
Sun Feb 5 05:24:46 PST 2006


http://perforce.freebsd.org/chv.cgi?CH=91160

Change 91160 by rwatson at rwatson_zoo on 2006/02/05 13:24:16

	Correct typo: allocate size of record, not size of pointer, caught
	immediately by kassert on test box.

Affected files ...

.. //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#7 edit

Differences ...

==== //depot/projects/trustedbsd/audit3/sys/security/audit/audit.c#7 (text+ko) ====

@@ -636,7 +636,7 @@
 	cv_init(&audit_fail_cv, "audit_fail_cv");
 
 	audit_record_zone = uma_zcreate("audit_record_zone",
-	    sizeof(struct kaudit_record *), audit_record_ctor,
+	    sizeof(struct kaudit_record), audit_record_ctor,
 	    audit_record_dtor, NULL, NULL, UMA_ALIGN_PTR, 0);
 
 	/* Initialize the BSM audit subsystem. */


More information about the p4-projects mailing list