summaryrefslogtreecommitdiff
path: root/usr/src/cmd/svc/startd/contract.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/svc/startd/contract.c')
-rw-r--r--usr/src/cmd/svc/startd/contract.c14
1 files changed, 6 insertions, 8 deletions
diff --git a/usr/src/cmd/svc/startd/contract.c b/usr/src/cmd/svc/startd/contract.c
index d9eca7631a..9d2d8aa504 100644
--- a/usr/src/cmd/svc/startd/contract.c
+++ b/usr/src/cmd/svc/startd/contract.c
@@ -2,9 +2,8 @@
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
- * Common Development and Distribution License, Version 1.0 only
- * (the "License"). You may not use this file except in compliance
- * with the License.
+ * Common Development and Distribution License (the "License").
+ * You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* or http://www.opensolaris.org/os/licensing.
@@ -19,13 +18,12 @@
*
* CDDL HEADER END
*/
+
/*
- * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2010 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#ifdef _FILE_OFFSET_BITS
#undef _FILE_OFFSET_BITS
#endif /* _FILE_OFFSET_BITS */
@@ -270,7 +268,7 @@ contract_hold_bucket(ctid_t ctid)
static void
contract_release_bucket(contract_bucket_t *bp)
{
- assert(PTHREAD_MUTEX_HELD(&bp->cb_lock));
+ assert(MUTEX_HELD(&bp->cb_lock));
MUTEX_UNLOCK(&bp->cb_lock);
}
@@ -279,7 +277,7 @@ contract_lookup(contract_bucket_t *bp, ctid_t ctid)
{
contract_entry_t *ce;
- assert(PTHREAD_MUTEX_HELD(&bp->cb_lock));
+ assert(MUTEX_HELD(&bp->cb_lock));
if (bp->cb_list == NULL)
return (NULL);