summaryrefslogtreecommitdiff
path: root/usr/src/lib/libumem/common/umem_update_thread.c
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2019-01-21 20:03:20 +0200
committerToomas Soome <tsoome@me.com>2019-06-25 23:14:04 +0300
commita6313a9d1cea800172e9672443e1496d90d4fbcf (patch)
tree47823b7bbf8c25b66c98a224a4b9037c41dfd6b4 /usr/src/lib/libumem/common/umem_update_thread.c
parenteb633035c80613ec93d62f90482837adaaf21a0a (diff)
downloadillumos-gate-a6313a9d1cea800172e9672443e1496d90d4fbcf.tar.gz
11119 libumem: NULL pointer errors
Reviewed by: John Levon <john.levon@joyent.com> Reviewed by: Andy Fiddaman <andy@omniosce.org> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src/lib/libumem/common/umem_update_thread.c')
-rw-r--r--usr/src/lib/libumem/common/umem_update_thread.c2
1 files changed, 1 insertions, 1 deletions
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);