Fix: use of uninitialised bytes valgrind warning
[lttng-tools.git] / include / lttng / rotate-internal.h
index 17a08dd4fa7ee9475ff8c30179118c13bb9bb59c..0296efed1128c992ec855189c00a63f0b6027c04 100644 (file)
@@ -1,18 +1,8 @@
 /*
- * Copyright (C) 2017 Julien Desfossez <jdesfossez@efficios.com>
+ * Copyright (C) 2017 Julien Desfossez <jdesfossez@efficios.com>
  *
- * This library is free software; you can redistribute it and/or modify it
- * under the terms of the GNU Lesser General Public License, version 2.1 only,
- * as published by the Free Software Foundation.
+ * SPDX-License-Identifier: LGPL-2.1-only
  *
- * This library is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License
- * for more details.
- *
- * You should have received a copy of the GNU Lesser General Public License
- * along with this library; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #ifndef LTTNG_ROTATE_INTERNAL_ABI_H
@@ -118,11 +108,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.025628 seconds and 5 git commands to generate.