summaryrefslogtreecommitdiff
path: root/sys/kern/subr_taskqueue.c
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2008-04-11 17:35:54 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2008-04-11 17:35:54 +0000
commit03c7442d750d18e376dc8fcd8adbb9dfe3661c29 (patch)
treebf12298dbc47b8c94f4552c49b2716b2117b631c /sys/kern/subr_taskqueue.c
parent9cb3ef6efe444a9730306e57f9b372de22800c51 (diff)
Notes
Diffstat (limited to 'sys/kern/subr_taskqueue.c')
-rw-r--r--sys/kern/subr_taskqueue.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/kern/subr_taskqueue.c b/sys/kern/subr_taskqueue.c
index 3a498e8b9f70..050d7131fb16 100644
--- a/sys/kern/subr_taskqueue.c
+++ b/sys/kern/subr_taskqueue.c
@@ -408,7 +408,7 @@ taskqueue_thread_loop(void *arg)
tq->tq_tcount--;
wakeup_one(tq->tq_threads);
TQ_UNLOCK(tq);
- kproc_exit(0);
+ kthread_exit();
}
void