Merge pull request #2947 from mjstapp/fix_os_name

lib: fix use of frrpthread os_name
This commit is contained in:
Quentin Young 2018-08-30 13:01:22 -04:00 committed by GitHub
commit a91a5dcdd6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);