aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiaoming Jiang <jiangxiaoming@outlook.com>2021-10-13 03:11:40 +0000
committerFlorin Coras <florin.coras@gmail.com>2021-10-13 15:25:53 +0000
commit3d3dc2966debd902d1388d3a9733bfa360d01a96 (patch)
treecdf7e73a3b83bd652f9d9bdfa720bc029000bae3
parentf9074fc51544d1849a2df06713c1ccf6cb2eb908 (diff)
session: app name should format with %v
Type: fix Signed-off-by: Xiaoming Jiang <jiangxiaoming@outlook.com> Change-Id: I2c77066cc9f1d3063373cc9559cc5b369906cc24
-rw-r--r--src/vnet/session/application.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c
index d8b2b3edcf0..30c59e1bc84 100644
--- a/src/vnet/session/application.c
+++ b/src/vnet/session/application.c
@@ -642,7 +642,7 @@ app_rx_mqs_alloc (application_t *app)
cfg->ring_cfgs = rc;
eqs->ssvm.ssvm_size = svm_msg_q_size_to_alloc (cfg) * n_mqs + (1 << 20);
- eqs->ssvm.name = format (0, "%s-rx-mqs-seg%c", app->name, 0);
+ eqs->ssvm.name = format (0, "%v-rx-mqs-seg%c", app->name, 0);
if (ssvm_server_init (&eqs->ssvm, SSVM_SEGMENT_MEMFD))
{