From 7e12ceb3ebc63aeb71e91b496032ca22ca55f660 Mon Sep 17 00:00:00 2001 From: Toomas Soome Date: Fri, 18 Jan 2019 10:38:01 +0200 Subject: 10376 uts: NULL pointer issues in genunix Reviewed by: Andy Fiddaman Reviewed by: Andy Stormont Reviewed by: John Levon Approved by: Robert Mustacchi --- usr/src/uts/common/os/task.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/src/uts/common/os/task.c') diff --git a/usr/src/uts/common/os/task.c b/usr/src/uts/common/os/task.c index bafcfd45e0..91325429a3 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) == NULL) { + TQ_NOSLEEP | TQ_NOQUEUE) == (uintptr_t)NULL) { mutex_enter(&task_commit_lock); if (task_commit_head == NULL) { task_commit_head = task_commit_tail = tk; -- cgit v1.2.3