X-Git-Url: http://git.lttng.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fenable_rotation.c;h=918662661a83ec83f3c3fb580a7564b0482a7992;hb=a14a81cb954e6387489166860ef90fd7412f722b;hp=3c2bd787ecefc40b940fe511b6db27f9af153985;hpb=17dd12323bbd9f979e5b3886f979a1e02e2dcbe6;p=lttng-tools.git diff --git a/src/bin/lttng/commands/enable_rotation.c b/src/bin/lttng/commands/enable_rotation.c index 3c2bd787e..918662661 100644 --- a/src/bin/lttng/commands/enable_rotation.c +++ b/src/bin/lttng/commands/enable_rotation.c @@ -296,7 +296,7 @@ int cmd_enable_rotation(int argc, const char **argv) } if (size_rotation) { - enum lttng_error_code tmp_ret; + enum cmd_error_code tmp_ret; /* Don't overwrite cmd_ret if it already indicates an error. */ tmp_ret = add_schedule(session_name,