X-Git-Url: https://git.lttng.org/?a=blobdiff_plain;ds=sidebyside;f=src%2Fbin%2Flttng%2Fcommands%2Fdisable_rotation.c;h=47b7de7d7e78d6a66084fe6a51dd4fc8ca4df4df;hb=e20ca0249f0a7b3b8e2d8f50437e63ea17b8f6e9;hp=2ea4a06bad2d381b99d6891b4e2140118eb1446c;hpb=a14a81cb954e6387489166860ef90fd7412f722b;p=lttng-tools.git diff --git a/src/bin/lttng/commands/disable_rotation.c b/src/bin/lttng/commands/disable_rotation.c index 2ea4a06ba..47b7de7d7 100644 --- a/src/bin/lttng/commands/disable_rotation.c +++ b/src/bin/lttng/commands/disable_rotation.c @@ -225,7 +225,7 @@ int cmd_disable_rotation(int argc, const char **argv) pc = poptGetContext(NULL, argc, argv, long_options, 0); popt_ret = poptReadDefaultConfig(pc, 0); if (popt_ret) { - ret = CMD_ERROR; + cmd_ret = CMD_ERROR; ERR("poptReadDefaultConfig"); goto end; } @@ -245,7 +245,7 @@ int cmd_disable_rotation(int argc, const char **argv) size_rotation = true; break; default: - ret = CMD_UNDEFINED; + cmd_ret = CMD_UNDEFINED; goto end; } }