X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fdisable_channels.c;h=f75c5feb0257bdccfaf1bfa9faad652d359b2ae9;hb=1ceda6f154db93be802eeea64bc9eb49840fd402;hp=344be237d26c2d4581c26c50363dbbe7558293ff;hpb=3533d06b152292235b1ab28364804754339e62f5;p=lttng-tools.git diff --git a/src/bin/lttng/commands/disable_channels.c b/src/bin/lttng/commands/disable_channels.c index 344be237d..f75c5feb0 100644 --- a/src/bin/lttng/commands/disable_channels.c +++ b/src/bin/lttng/commands/disable_channels.c @@ -16,6 +16,7 @@ #include #include +#include #include "../command.h" @@ -155,7 +156,8 @@ static int disable_channels(char *session_name) } else { MSG("%s channel %s disabled for session %s", - get_domain_str(dom.type), channel_name, session_name); + lttng_domain_type_str(dom.type), + channel_name, session_name); enabled = 0; success = 1; }