Fix: use negative code for errors in enum
authorJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Aug 2018 00:47:42 +0000 (20:47 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Fri, 17 Aug 2018 00:47:42 +0000 (20:47 -0400)
Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com>
include/lttng/rotation.h

index d13f3641a2dfba3dbf878c89f20ab5fac56a62d9..a8df4e682dc8b718b6975bd1bd6e63e2e4e65ca6 100644 (file)
@@ -57,7 +57,7 @@ enum lttng_rotation_state {
        /*
         * The rotation could not be completed due to an error.
         */
-       LTTNG_ROTATION_STATE_ERROR = 4,
+       LTTNG_ROTATION_STATE_ERROR = -1,
 };
 
 enum lttng_rotation_status {
This page took 0.026268 seconds and 5 git commands to generate.