Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Feb 2006 13:24:44 GMT
From:      Robert Watson <rwatson@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 91160 for review
Message-ID:  <200602051324.k15DOimq034564@repoman.freebsd.org>

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

Change 91160 by rwatson@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. */



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