From: Mathieu Desnoyers Date: Thu, 19 May 2016 15:57:42 +0000 (-0400) Subject: Fix: add missing semicolons after MSG, DBG, ERR print macros X-Git-Tag: v2.7.3~19 X-Git-Url: http://git.lttng.org/?a=commitdiff_plain;h=b75c559e34d9a9ef06a3ad558f104021547ae4a8;hp=50b34a52072664e1076872817a2d51ab4e432cc3;p=lttng-tools.git Fix: add missing semicolons after MSG, DBG, ERR print macros Signed-off-by: Mathieu Desnoyers Signed-off-by: Jérémie Galarneau --- 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; } }