X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=f33e8d0e3d43ff85cd77eab67186f96bef120c26;hp=210c2f437708ef6a7e0ec3531762b6c6cd25ad48;hb=485ca16f3528b1b07e4c252cf4b672c2e98dfd11;hpb=278db96d7c6305fceaabf382921ca8578d1b1379 diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 210c2f437..f33e8d0e3 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -556,10 +556,8 @@ static int mi_list_ust_event_fields(struct lttng_event_field *fields, int count, if (cur_pid != fields[i].event.pid) { if (pid_element_open) { if (event_element_open) { - /* - * Close the previous fields element - * and the previous event - */ + + /* Close the previous field element and event. */ ret = mi_lttng_close_multi_element(writer, 2); if (ret) { goto end;