X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_channels.c;h=dd79926f81d6c80b3ef70d56cb8a188d4b491a9c;hp=fa65b1eaa9257d84e3be698a7e10a9960683c0d8;hb=1004b7191b421c7c07acf964d0110d93bb022699;hpb=f7411157f9901354dc157ff2a73ccb71a14f71e0 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; }