X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=f59e4bc0b3576dcf43ab66a7ef1a465dee2e25df;hp=303f755fb97f7afe3a73de4c57fa3638c9bdca4a;hb=00505bae99a7c67f81a9c198ef2d53f172f34f77;hpb=31e40170724289b547b191650191745ee535b237 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 303f755fb..f59e4bc0b 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -1082,8 +1082,8 @@ static int list_session_agent_events(void) filter_msg = malloc(strlen(filter_str) + strlen(filter_fmt) + 1); if (filter_msg) { - sprintf(filter_msg, " [filter: '%s']", - filter_str); + sprintf(filter_msg, filter_fmt, + filter_str); } }