summaryrefslogtreecommitdiff
path: root/lib/frr_pthread.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/frr_pthread.c')
-rw-r--r--lib/frr_pthread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/frr_pthread.c b/lib/frr_pthread.c
index 17bc82f5da..614c722be1 100644
--- a/lib/frr_pthread.c
+++ b/lib/frr_pthread.c
@@ -86,7 +86,7 @@ struct frr_pthread *frr_pthread_new(const char *name, unsigned int id,
XCALLOC(MTYPE_FRR_PTHREAD,
sizeof(struct frr_pthread));
fpt->id = id;
- fpt->master = thread_master_create();
+ fpt->master = thread_master_create(name);
fpt->start_routine = start_routine;
fpt->stop_routine = stop_routine;
fpt->name = XSTRDUP(MTYPE_FRR_PTHREAD, name);