From 62a7b8edf965b89d3ca57da120dcedfcf36dfe02 Mon Sep 17 00:00:00 2001 From: Mathieu Desnoyers Date: Thu, 19 May 2016 11:57:42 -0400 Subject: [PATCH] Fix: add missing semicolons after MSG, DBG, ERR print macros MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- src/bin/lttng/commands/add_context.c | 2 +- src/common/consumer/consumer.c | 2 +- src/common/runas.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 8f8aa3012..2f43dc7ff 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -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; } diff --git a/src/common/consumer/consumer.c b/src/common/consumer/consumer.c index 8b8e74c33..7ce294e81 100644 --- a/src/common/consumer/consumer.c +++ b/src/common/consumer/consumer.c @@ -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; diff --git a/src/common/runas.c b/src/common/runas.c index b4828ad60..2a71f586c 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -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; } } -- 2.34.1