PERFORCE change 143786 for review

Stacey Son sson at FreeBSD.org
Thu Jun 19 21:03:35 UTC 2008


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

Change 143786 by sson at sson_amd64 on 2008/06/19 21:02:42

	Added missing pthread_mutex_unlock() in getacna().

Affected files ...

.. //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#17 edit

Differences ...

==== //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#17 (text+ko) ====

@@ -27,7 +27,7 @@
  * IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  * POSSIBILITY OF SUCH DAMAGE.
  *
- * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#16 $
+ * $P4: //depot/projects/trustedbsd/openbsm/libbsm/bsm_control.c#17 $
  */
 
 #include <bsm/libbsm.h>
@@ -485,6 +485,7 @@
 		return (-3);
 	}
 	strcpy(auditstr, str);
+	pthread_mutex_unlock(&mutex);
 	return (0);
 }
 


More information about the p4-projects mailing list