summaryrefslogtreecommitdiffstats
path: root/src/vnet/session
diff options
context:
space:
mode:
authorFlorin Coras <fcoras@cisco.com>2019-04-04 22:31:50 -0700
committerDave Wallace <dwallacelf@gmail.com>2019-04-05 18:35:42 +0000
commitfa7512e18de19cced700ec615d91ffbc481d1fd9 (patch)
tree9f5628f74d4213b2c84080cffc8ed091a9a7cb76 /src/vnet/session
parentf7537449e9e563d32fd1dbab52b82cdd23dc4370 (diff)
session: fix app name formatting
Change-Id: Iea88ce5f6628e131e507ba45a3dbb2de7e6c1498 Signed-off-by: Florin Coras <fcoras@cisco.com>
Diffstat (limited to 'src/vnet/session')
-rw-r--r--src/vnet/session/application.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/session/application.c b/src/vnet/session/application.c
index 91e800d1dc8..8a7745e0aca 100644
--- a/src/vnet/session/application.c
+++ b/src/vnet/session/application.c
@@ -1421,12 +1421,12 @@ format_application (u8 * s, va_list * args)
props = application_segment_manager_properties (app);
if (!verbose)
{
- s = format (s, "%-10u%-20s%-40s", app->app_index, app_name,
+ s = format (s, "%-10u%-20v%-40s", app->app_index, app_name,
app_ns_name);
return s;
}
- s = format (s, "app-name %s app-index %u ns-index %u seg-size %U\n",
+ s = format (s, "app-name %v app-index %u ns-index %u seg-size %U\n",
app_name, app->app_index, app->ns_index,
format_memory_size, props->add_segment_size);
s = format (s, "rx-fifo-size %U tx-fifo-size %U workers:\n",