Fix: comment syntax and indentation
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 1d02a1f0a86021d50c3ad53e5581181b96bc3563..acc705b81ac1a42f948f2f101de82269f7aaa761 100644 (file)
@@ -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)
 {
@@ -594,7 +592,7 @@ int cmd_create(int argc, const char **argv)
        }
 
 
-       /* MI initilisation */
+       /* MI initialization */
        if (lttng_opt_mi) {
                writer = mi_lttng_writer_create(fileno(stdout), lttng_opt_mi);
                if (!writer) {
@@ -656,7 +654,7 @@ end:
                ret = ret ? ret : -LTTNG_ERR_MI_IO_FAIL;
        }
 
-       /* Overwrite ret if an error occured in create_session() */
+       /* Overwrite ret if an error occurred in create_session() */
        ret = command_ret ? command_ret : ret;
 
        poptFreeContext(pc);
This page took 0.026878 seconds and 5 git commands to generate.