From a6313a9d1cea800172e9672443e1496d90d4fbcf Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Mon, 21 Jan 2019 20:03:20 +0200 Subject: 11119 libumem: NULL pointer errors Reviewed by: John Levon Reviewed by: Andy Fiddaman Approved by: Dan McDonald --- usr/src/lib/libumem/common/umem_update_thread.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/lib/libumem/common/umem_update_thread.c') diff --git a/usr/src/lib/libumem/common/umem_update_thread.c b/usr/src/lib/libumem/common/umem_update_thread.c index 5b393cfb13..eb044b7641 100644 --- a/usr/src/lib/libumem/common/umem_update_thread.c +++ b/usr/src/lib/libumem/common/umem_update_thread.c @@ -138,7 +138,7 @@ umem_create_update_thread(void) (void) mutex_unlock(&umem_update_lock); - if (thr_create(NULL, NULL, umem_update_thread, NULL, + if (thr_create(NULL, 0, umem_update_thread, NULL, THR_BOUND | THR_DAEMON | THR_DETACHED | THR_SUSPENDED, &newthread) == 0) { (void) thr_sigsetmask(SIG_SETMASK, &oldmask, NULL); -- cgit v1.2.3