summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorBrian Behlendorf <[email protected]>2008-12-22 16:51:28 -0800
committerBrian Behlendorf <[email protected]>2008-12-22 16:51:28 -0800
commit9ef0280a5c3d1a3d47971a739347432775bb3a88 (patch)
tree59f02ed6071f4bbebed4d5575b27153c1c12fc7c /cmd
parentf016a8e15fbae02a8ae9509f52145ff29a5aa8ae (diff)
Use pthread_
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ztest/ztest.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/ztest/ztest.c b/cmd/ztest/ztest.c
index 6fb9c60ca..a9873ab19 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);
}
/*