vcl: app_name format type error

Type: fix
Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com>
Change-Id: I9f017ec84320ebc56f557385d73893ecf8f25bcd
This commit is contained in:
jiangxiaoming
2020-10-13 14:23:29 +08:00
committed by Florin Coras
parent 3e2ec42a07
commit b438c763a1

View File

@ -466,7 +466,7 @@ vcl_bapi_connect_to_vpp (void)
api_main_t *am;
u8 *wrk_name;
wrk_name = format (0, "%s-wrk-%u%c", vcm->app_name, wrk->wrk_index, 0);
wrk_name = format (0, "%v-wrk-%u%c", vcm->app_name, wrk->wrk_index, 0);
/* Make sure api is cleaned up in case this is a connect from a
* forked worker */