summaryrefslogtreecommitdiff
path: root/lib/frr_pthread.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@users.noreply.github.com>2018-08-30 13:01:22 -0400
committerGitHub <noreply@github.com>2018-08-30 13:01:22 -0400
commita91a5dcdd6f797336fc1e6ccf69567a384a76097 (patch)
treeddae1187beca74a51a7eac5bff61a35875ff842e /lib/frr_pthread.c
parent17808c03d7aa2b00e807462d8da315f95d196950 (diff)
parentc5e7bf3fa6f085fec6b24d1d4343b21f8723313d (diff)
Merge pull request #2947 from mjstapp/fix_os_name
lib: fix use of frrpthread os_name
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 eb6587a35a..c0aae5e52e 100644
--- a/lib/frr_pthread.c
+++ b/lib/frr_pthread.c
@@ -332,7 +332,7 @@ static void *fpt_run(void *arg)
fpt->master->handle_signals = false;
- if (fpt->os_name)
+ if (fpt->os_name[0])
frr_pthread_set_name(fpt, NULL, fpt->os_name);
frr_pthread_notify_running(fpt);