Fix: add missing semicolons after MSG, DBG, ERR print macros
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Thu, 19 May 2016 15:57:42 +0000 (11:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 20 May 2016 20:13:00 +0000 (16:13 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng-sessiond/save.c
src/bin/lttng/commands/add_context.c
src/common/consumer.c
src/common/runas.c

index c4abf813c341ae77718f8151808b5f75c1f54b18..77b75e363ac81da55c2b9be7a55bd2dbbd261417 100644 (file)
@@ -960,8 +960,8 @@ int save_ust_context(struct config_writer *writer,
                        context_type_string = get_ust_context_type_string(
                                ctx->ctx.ctx);
                        if (!context_type_string) {
-                               ERR("Unsupported UST context type.")
-                                       ret = LTTNG_ERR_INVALID;
+                               ERR("Unsupported UST context type.");
+                               ret = LTTNG_ERR_INVALID;
                                goto end;
                        }
 
index 2311dfa20fdcc08c34ee2891d7c6ffeb810fa03f..eeaaf3a6573dfab855d2c3ef0c2de0f4bbad0faa 100644 (file)
@@ -632,7 +632,7 @@ static int add_context(char *session_name)
                                                opt_channel_name);
                        } else {
                                MSG("%s context %s added to all channels",
-                                               get_domain_str(dom.type), type->opt->symbol)
+                                               get_domain_str(dom.type), type->opt->symbol);
                        }
                        success = 1;
                }
index 558112271426293ffac74860fab992dc0e517b49..a0d9e33546a138f5bde0d2335fbfb886f71d9904 100644 (file)
@@ -1022,7 +1022,7 @@ struct lttng_consumer_channel *consumer_allocate_channel(uint64_t key,
 
        CDS_INIT_LIST_HEAD(&channel->streams.head);
 
-       DBG("Allocated channel (key %" PRIu64 ")", channel->key)
+       DBG("Allocated channel (key %" PRIu64 ")", channel->key);
 
 end:
        return channel;
index 57f7382bd2b6b6f8dd5f07adf4a7dfe90584f58a..46c7b9feac0cc8ac5ececb2c205127ce21b6954b 100644 (file)
@@ -170,7 +170,7 @@ run_as_fct run_as_enum_to_fct(enum run_as_cmd cmd)
        case RUN_AS_MKDIR_RECURSIVE:
                return _mkdir_recursive;
        default:
-               ERR("Unknown command %d", (int) cmd)
+               ERR("Unknown command %d", (int) cmd);
                return NULL;
        }
 }
This page took 0.030129 seconds and 4 git commands to generate.