From 485ca16f3528b1b07e4c252cf4b672c2e98dfd11 Mon Sep 17 00:00:00 2001 From: David Goulet Date: Mon, 28 Jul 2014 10:39:26 -0400 Subject: [PATCH] Fix: comment syntax and indentation Signed-off-by: David Goulet --- README | 2 +- src/bin/lttng/commands/create.c | 4 +--- src/bin/lttng/commands/list.c | 6 ++---- 3 files changed, 4 insertions(+), 8 deletions(-) diff --git a/README b/README index 716ae1f8a..c98444991 100644 --- a/README +++ b/README @@ -183,5 +183,5 @@ PACKAGE CONTENTS: - extras Contains extra data such as bash completion file. - Note: the presence of xmllint is required for bash-completion. + Note: the presence of xmllint is required for bash-completion. Python bindings for liblttng-ctl are also available there. diff --git a/src/bin/lttng/commands/create.c b/src/bin/lttng/commands/create.c index 4145e14d8..acc705b81 100644 --- a/src/bin/lttng/commands/create.c +++ b/src/bin/lttng/commands/create.c @@ -152,11 +152,9 @@ static void usage(FILE *ofp) } /* - * Retrieve the created session and - * mi output it of the created session based on provided argument + * Retrieve the created session and mi output it based on provided argument * This is currently a summary of what was pretty printed and is subject to * enhancements. - * str_url is a placement string for output url (snapshot or regular trace) */ static int mi_created_session(const char *session_name) { 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; -- 2.34.1