X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fadd_context.c;h=260c300be8a5483f562902ea666ca3d22a82a34c;hp=95fefa50c831486772eca28475a2612c0c10ed2d;hb=1ab1ea0b77d5fc71765e06b5c84431e403e8bd2e;hpb=d78d661021eb1c5761c631dbd525697769fe638b diff --git a/src/bin/lttng/commands/add_context.c b/src/bin/lttng/commands/add_context.c index 95fefa50c..260c300be 100644 --- a/src/bin/lttng/commands/add_context.c +++ b/src/bin/lttng/commands/add_context.c @@ -368,7 +368,7 @@ static int add_context(char *session_name) dom.type = LTTNG_DOMAIN_UST; } else { ERR("Please specify a tracer (-k/--kernel or -u/--userspace)"); - ret = CMD_NOT_IMPLEMENTED; + ret = CMD_UNDEFINED; goto error; }