X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.c;fp=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.c;h=de066e6dc3410648fff47cb8720ff50ef9885f0c;hp=b33eb1d14ef22545b73baeceed6d6a19424b9e8c;hb=1ceda6f154db93be802eeea64bc9eb49840fd402;hpb=54e92d5f4c74203b3aa555b7534fbb540664e0c8 diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index b33eb1d14..de066e6dc 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -19,6 +19,7 @@ #include +#include #include #include "../command.h" @@ -810,11 +811,13 @@ static int add_context(char *session_name) } else { if (opt_channel_name) { MSG("%s context %s added to channel %s", - get_domain_str(dom.type), type->opt->symbol, + lttng_domain_type_str(dom.type), + type->opt->symbol, opt_channel_name); } else { MSG("%s context %s added to all channels", - get_domain_str(dom.type), type->opt->symbol); + lttng_domain_type_str(dom.type), + type->opt->symbol); } success = 1; }