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>
Thu, 19 May 2016 17:54:12 +0000 (13:54 -0400)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/add_context.c
src/common/consumer/consumer.c
src/common/runas.c

index 8f8aa301292fe61a60865fb5eeefff4114232009..2f43dc7ff203e53a411d7178e649d80dd590d824 100644 (file)
@@ -609,7 +609,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 8b8e74c33c3ef8c41e22bd37f73ed45f7521c1e4..7ce294e815397a9da9f641b18f1dee3019b7916f 100644 (file)
@@ -1021,7 +1021,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 b4828ad608604935f3db7c7a3d7967c84fe2451a..2a71f586cdccf99546ca57dbf18691fb3da26348 100644 (file)
@@ -171,7 +171,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.042067 seconds and 4 git commands to generate.