diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index 325cb3cea..9136560df 100644 --- a/lib/libzpool/kernel.c +++ b/lib/libzpool/kernel.c @@ -289,7 +289,7 @@ mutex_destroy(kmutex_t *mp) { ASSERT3U(mp->m_magic, ==, MTX_MAGIC); ASSERT3P(mp->m_owner, ==, MTX_INIT); - VERIFY3S(pthread_mutex_destroy(&(mp)->m_lock), ==, 0); + ASSERT0(pthread_mutex_destroy(&(mp)->m_lock)); mp->m_owner = MTX_DEST; mp->m_magic = 0; }