Fix: use of uninitialised bytes valgrind warning
[lttng-tools.git] / include / lttng / rotate-internal.h
index c441780791b7f74907b643d7854e16749188953a..e580ef96e28c94711ecd403671f44416b7bf1698 100644 (file)
@@ -89,7 +89,9 @@ struct lttng_rotate_session_return {
 struct lttng_rotation_get_info_return {
        /* Represents values defined in enum lttng_rotation_state. */
        int32_t status;
-       /* Represents values defined in enum lttng_rotation_state. */
+       /*
+        * Represents values defined in enum lttng_trace_archive_location_type.
+        */
        int8_t location_type;
        union {
                struct {
@@ -116,11 +118,11 @@ struct lttng_session_list_schedules_return {
        struct {
                uint8_t set;
                uint64_t value;
-       } periodic;
+       } LTTNG_PACKED periodic;
        struct {
                uint8_t set;
                uint64_t value;
-       } size;
+       } LTTNG_PACKED size;
 } LTTNG_PACKED;
 
 #endif /* LTTNG_ROTATE_INTERNAL_ABI_H */
This page took 0.023895 seconds and 4 git commands to generate.