Fix: mix of lttng_error_code and cmd_error_code enums
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 24 Aug 2018 01:10:28 +0000 (21:10 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 24 Aug 2018 01:15:18 +0000 (21:15 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
src/bin/lttng/commands/disable_rotation.c
src/bin/lttng/commands/enable_rotation.c

index 30dfaa1691db929295cce3cba2a0ef921fd06c57..2ea4a06bad2d381b99d6891b4e2140118eb1446c 100644 (file)
@@ -313,7 +313,7 @@ int cmd_disable_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 = remove_schedule(session_name,
index 3c2bd787ecefc40b940fe511b6db27f9af153985..918662661a83ec83f3c3fb580a7564b0482a7992 100644 (file)
@@ -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,
This page took 0.026766 seconds and 4 git commands to generate.