summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/rpc/clnt_clts.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/rpc/clnt_clts.c')
-rw-r--r--usr/src/uts/common/rpc/clnt_clts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/rpc/clnt_clts.c b/usr/src/uts/common/rpc/clnt_clts.c
index beab2b6a4b..8a90857172 100644
--- a/usr/src/uts/common/rpc/clnt_clts.c
+++ b/usr/src/uts/common/rpc/clnt_clts.c
@@ -1784,7 +1784,7 @@ endpnt_reap_dispatch(void *a)
* endpoint.
*/
if (taskq_dispatch(endpnt_taskq, (task_func_t *)endpnt_reap, etp,
- TQ_NOSLEEP) == NULL)
+ TQ_NOSLEEP) == TASKQID_INVALID)
return;
mutex_enter(&etp->e_ilock);
etp->e_async_count++;