summaryrefslogtreecommitdiff
path: root/lib/thread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/thread.c')
-rw-r--r--lib/thread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/thread.c b/lib/thread.c
index 21fb2b9563..2b1ca13dee 100644
--- a/lib/thread.c
+++ b/lib/thread.c
@@ -813,7 +813,7 @@ generic_thread_add(struct thread_master *m, int (*func) (struct thread *),
/* is there enough space for a new fd? */
assert (queuepos < m->handler.pfdsize);
- thread = thread_get (m, type, func, arg, funcname, debugargpass);
+ thread = thread_get (m, type, func, arg, debugargpass);
m->handler.pfds[queuepos].fd = fd;
m->handler.pfds[queuepos].events |= event;
if (queuepos == m->handler.pfdcount)