From: mathieu.desnoyers@efficios.com (Mathieu Desnoyers)
Subject: [lttng-dev] [PATCH lttng-tools 1/4] Fix: add missing semicolons after MSG, DBG, ERR print macros
Date: Thu, 19 May 2016 11:57:42 -0400 [thread overview]
Message-ID: <1463673465-26888-2-git-send-email-mathieu.desnoyers@efficios.com> (raw)
In-Reply-To: <1463673465-26888-1-git-send-email-mathieu.desnoyers@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers at efficios.com>
---
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 8f8aa30..2f43dc7 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 8b8e74c..7ce294e 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 b4828ad..2a71f58 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.1.4
next prev parent reply other threads:[~2016-05-19 15:57 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-19 15:57 [lttng-dev] [PATCH lttng-tools 0/4] error.h message printing fixes Mathieu Desnoyers
2016-05-19 15:57 ` Mathieu Desnoyers [this message]
2016-05-19 18:02 ` [lttng-dev] [PATCH lttng-tools 1/4] Fix: add missing semicolons after MSG, DBG, ERR print macros Jérémie Galarneau
2016-05-19 15:57 ` [lttng-dev] [PATCH lttng-tools 2/4] Fix: coding style document has erroneous semicolon at end of macro Mathieu Desnoyers
2016-05-19 15:57 ` [lttng-dev] [PATCH lttng-tools 3/4] Update coding style document for macro style Mathieu Desnoyers
2016-05-19 15:57 ` [lttng-dev] [PATCH lttng-tools 4/4] Cleanup error.h __lttng_print() used for message printing Mathieu Desnoyers
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1463673465-26888-2-git-send-email-mathieu.desnoyers@efficios.com \
--to=mathieu.desnoyers@efficios.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox