From b75c559e34d9a9ef06a3ad558f104021547ae4a8 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-sessiond/save.c | 4 ++-- src/bin/lttng/commands/add_context.c | 2 +- src/common/consumer.c | 2 +- src/common/runas.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bin/lttng-sessiond/save.c b/src/bin/lttng-sessiond/save.c index c4abf813c..77b75e363 100644 --- a/src/bin/lttng-sessiond/save.c +++ b/src/bin/lttng-sessiond/save.c @@ -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; } diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 2311dfa20..eeaaf3a65 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -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; } diff --git a/src/common/consumer.c b/src/common/consumer.c index 558112271..a0d9e3354 100644 --- a/src/common/consumer.c +++ b/src/common/consumer.c @@ -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; diff --git a/src/common/runas.c b/src/common/runas.c index 57f7382bd..46c7b9fea 100644 --- a/src/common/runas.c +++ b/src/common/runas.c @@ -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; } } -- 2.34.1