mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-11 15:18:06 +00:00
lib: fix use of frrpthread os_name
Fix test for presence of configured os pthread name. Signed-off-by: Mark Stapp <mjs@voltanet.io>
This commit is contained in:
parent
66a9aa8b88
commit
c5e7bf3fa6
@ -332,7 +332,7 @@ static void *fpt_run(void *arg)
|
|||||||
|
|
||||||
fpt->master->handle_signals = false;
|
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_set_name(fpt, NULL, fpt->os_name);
|
||||||
|
|
||||||
frr_pthread_notify_running(fpt);
|
frr_pthread_notify_running(fpt);
|
||||||
|
Loading…
Reference in New Issue
Block a user