From 9ef0280a5c3d1a3d47971a739347432775bb3a88 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Mon, 22 Dec 2008 16:51:28 -0800 Subject: [PATCH] Use pthread_ --- cmd/ztest/ztest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c index 6fb9c60caf..a9873ab197 100644 --- a/cmd/ztest/ztest.c +++ b/cmd/ztest/ztest.c @@ -1132,7 +1132,7 @@ ztest_vdev_attach_detach(ztest_args_t *za) (longlong_t)newsize, replacing, error, expected_error); } - (void) mutex_unlock(&ztest_shared->zs_vdev_lock); + (void) pthread_mutex_unlock(&ztest_shared->zs_vdev_lock); } /*