summaryrefslogtreecommitdiffstats
path: root/src/vcl
diff options
context:
space:
mode:
authorjiangxiaoming <jiangxiaoming@outlook.com>2020-10-13 14:23:29 +0800
committerFlorin Coras <florin.coras@gmail.com>2020-10-14 01:15:48 +0000
commitb438c763a10649a88ba2bed8795abf97af2a0b0d (patch)
tree85081cf71714d66661c6fae6fec553a4df27d505 /src/vcl
parent3e2ec42a07ae51aed54e63d05e743a338c666e30 (diff)
vcl: app_name format type error
Type: fix Signed-off-by: jiangxiaoming <jiangxiaoming@outlook.com> Change-Id: I9f017ec84320ebc56f557385d73893ecf8f25bcd
Diffstat (limited to 'src/vcl')
-rw-r--r--src/vcl/vcl_bapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vcl/vcl_bapi.c b/src/vcl/vcl_bapi.c
index 81311774538..2e17dab6887 100644
--- a/src/vcl/vcl_bapi.c
+++ b/src/vcl/vcl_bapi.c
@@ -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 */