summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/os/task.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/os/task.c')
-rw-r--r--usr/src/uts/common/os/task.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/os/task.c b/usr/src/uts/common/os/task.c
index 91325429a3..c2729f26d1 100644
--- a/usr/src/uts/common/os/task.c
+++ b/usr/src/uts/common/os/task.c
@@ -456,7 +456,7 @@ task_rele(task_t *tk)
* the task fails.
*/
if (taskq_dispatch(exacct_queue, exacct_commit_task, tk,
- TQ_NOSLEEP | TQ_NOQUEUE) == (uintptr_t)NULL) {
+ TQ_NOSLEEP | TQ_NOQUEUE) == TASKQID_INVALID) {
mutex_enter(&task_commit_lock);
if (task_commit_head == NULL) {
task_commit_head = task_commit_tail = tk;