summaryrefslogtreecommitdiff
path: root/usr/src/uts/common/fs/dnlc.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/uts/common/fs/dnlc.c')
-rw-r--r--usr/src/uts/common/fs/dnlc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/src/uts/common/fs/dnlc.c b/usr/src/uts/common/fs/dnlc.c
index 81a5e65ae0..102375dedd 100644
--- a/usr/src/uts/common/fs/dnlc.c
+++ b/usr/src/uts/common/fs/dnlc.c
@@ -954,7 +954,7 @@ dnlc_reduce_cache(void *reduce_percent)
if (dnlc_reduce_idle && (dnlc_nentries >= ncsize || reduce_percent)) {
dnlc_reduce_idle = 0;
if ((taskq_dispatch(system_taskq, do_dnlc_reduce_cache,
- reduce_percent, TQ_NOSLEEP)) == (uintptr_t)NULL)
+ reduce_percent, TQ_NOSLEEP)) == TASKQID_INVALID)
dnlc_reduce_idle = 1;
}
}