]> git.saurik.com Git - apple/xnu.git/blobdiff - bsd/netinet6/in6_cga.c
xnu-4570.1.46.tar.gz
[apple/xnu.git] / bsd / netinet6 / in6_cga.c
index 5174dfdf05e116a962417552d328e1cdfb72ac7a..981df0a18d943cd64491daebb825cf366742b216 100644 (file)
@@ -81,8 +81,11 @@ static struct in6_cga_singleton in6_cga = {
 static void
 in6_cga_node_lock_assert(int owned)
 {
+#if !MACH_ASSERT
+#pragma unused(owned)
+#endif
        VERIFY(in6_cga.cga_initialized);
-       lck_mtx_assert(&in6_cga.cga_mutex, owned);
+       LCK_MTX_ASSERT(&in6_cga.cga_mutex, owned);
 }
 
 static boolean_t