diff options
-rw-r--r-- | lib/libzpool/kernel.c | 4 | ||||
-rw-r--r-- | scripts/Makefile.am | 1 |
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/libzpool/kernel.c b/lib/libzpool/kernel.c index 445a7d616..ab97636ba 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 48c16c198..bdc1f3b9e 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -13,6 +13,7 @@ check: @echo -n " ZTEST " @echo "====================================" @echo + @ulimit -c unlimited @$(ZTEST) -V @echo @echo -n "====================================" |