Merge commit 'refs/top-bases/zfs-branch' into zfs-branch

This commit is contained in:
Brian Behlendorf 2009-07-24 11:08:43 -07:00
commit db3967ba86
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ zk_thread_create(caddr_t stk, size_t stksize, thread_func_t func, void *arg,
list_insert_head(&kthread_list, kt);
VERIFY3S(pthread_mutex_unlock(&kthread_lock), ==, 0);
VERIFY(pthread_create(&kt->t_tid, &kt->t_attr,
(void *(*)(void *))func, arg) == 0);
VERIFY3U(pthread_create(&kt->t_tid, &kt->t_attr,
(void *(*)(void *))func, arg), ==, 0);
return kt;
}