diff options
| author | Mark Stapp <mjs@voltanet.io> | 2018-08-30 11:44:45 -0400 |
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2018-08-30 11:44:45 -0400 |
| commit | c5e7bf3fa6f085fec6b24d1d4343b21f8723313d (patch) | |
| tree | 1a72faea42a6d0577026c2c13a609a04b6408b61 /lib/frr_pthread.c | |
| parent | 66a9aa8b8860d8c79d8b395eb22ccddcdebf69e6 (diff) | |
lib: fix use of frrpthread os_name
Fix test for presence of configured os pthread name.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'lib/frr_pthread.c')
| -rw-r--r-- | lib/frr_pthread.c | 2 |
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); |
