aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Percival <cperciva@FreeBSD.org>2021-05-25 03:37:55 +0000
committerColin Percival <cperciva@FreeBSD.org>2021-06-01 00:56:48 +0000
commit3a5f854f458d4daeb2abdeb9077aa67058e93ea6 (patch)
tree6c2d77fbd203c0e7ba5619afd00d70ae600b4e67
parent1d2ac87f1f8596b2b2ac08cd9e715e5278f27486 (diff)
downloadsrc-3a5f854f458d4daeb2abdeb9077aa67058e93ea6.tar.gz
src-3a5f854f458d4daeb2abdeb9077aa67058e93ea6.zip
taskqueue: Add missing comma to TASKQUEUE_FAST_DEFINE_THREAD
Add missing comma to TASKQUEUE_FAST_DEFINE_THREAD arguments to prevent compilation errors. Submitted by: ashafer_badland.io (cherry picked from commit 27f09959d5f507465cc7f202c1b34987f0cdee55)
-rw-r--r--sys/sys/taskqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/taskqueue.h b/sys/sys/taskqueue.h
index 9aff621206d6..641a252672cb 100644
--- a/sys/sys/taskqueue.h
+++ b/sys/sys/taskqueue.h
@@ -181,7 +181,7 @@ SYSINIT(taskqueue_##name, SI_SUB_TASKQ, SI_ORDER_SECOND, \
struct __hack
#define TASKQUEUE_FAST_DEFINE_THREAD(name) \
TASKQUEUE_FAST_DEFINE(name, taskqueue_thread_enqueue, \
- &taskqueue_##name, taskqueue_start_threads(&taskqueue_##name \
+ &taskqueue_##name, taskqueue_start_threads(&taskqueue_##name, \
1, PWAIT, "%s taskq", #name))
/*