summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/strsubr.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/strsubr.c')
-rw-r--r--usr/src/uts/common/os/strsubr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/strsubr.c b/usr/src/uts/common/os/strsubr.c
index c19f7cefb7..1ffb561428 100644
--- a/usr/src/uts/common/os/strsubr.c
+++ b/usr/src/uts/common/os/strsubr.c
@@ -4034,7 +4034,7 @@ esballoc_enqueue_mblk(mblk_t *mp)
{
if (taskq_dispatch(system_taskq, (task_func_t *)esballoc_mblk_free, mp,
- TQ_NOSLEEP) == (uintptr_t)NULL) {
+ TQ_NOSLEEP) == TASKQID_INVALID) {
mblk_t *first_mp = mp;
/*
* System is low on resources and can't perform a non-sleeping