diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index 8673740d3f..97e1bc9d38 100644 --- a/lib/libzpool/kernel.c +++ b/lib/libzpool/kernel.c @@ -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; } diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5b60cd7bf5..8d9c112072 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -7,6 +7,7 @@ ZPIOS=${top_srcdir}/scripts/zpios.sh check: $(ZFS) -v + ulimit -c unlimited $(ZTEST) -V $(ZPIOS) -c file-raid0 -t tiny $(ZPIOS) -c file-raid10 -t tiny