X-Git-Url: http://git.efficios.com/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_channels.c;fp=src%2Fbin%2Flttng%2Fcommands%2Fenable_channels.c;h=dd79926f81d6c80b3ef70d56cb8a188d4b491a9c;hp=fa65b1eaa9257d84e3be698a7e10a9960683c0d8;hb=1ceda6f154db93be802eeea64bc9eb49840fd402;hpb=54e92d5f4c74203b3aa555b7534fbb540664e0c8 diff --git a/src/bin/lttng/commands/enable_channels.c b/src/bin/lttng/commands/enable_channels.c index fa65b1eaa..dd79926f8 100644 --- a/src/bin/lttng/commands/enable_channels.c +++ b/src/bin/lttng/commands/enable_channels.c @@ -21,6 +21,8 @@ #include #include +#include + #include "../command.h" #include "../utils.h" @@ -304,7 +306,8 @@ static int enable_channel(char *session_name) } } else { MSG("%s channel %s enabled for session %s", - get_domain_str(dom.type), channel_name, session_name); + lttng_domain_type_str(dom.type), + channel_name, session_name); success = 1; }