From: David Goulet Date: Mon, 28 Jul 2014 14:39:26 +0000 (-0400) Subject: Fix: comment syntax and indentation X-Git-Tag: v2.6.0-rc1~99 X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=commitdiff_plain;h=485ca16f3528b1b07e4c252cf4b672c2e98dfd11;hp=278db96d7c6305fceaabf382921ca8578d1b1379 Fix: comment syntax and indentation Signed-off-by: David Goulet --- 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;