Fix: lttng-ctl: erroneous uses of LTTNG_PACKED
[lttng-tools.git] / include / lttng / snapshot-internal.h
index 72d4922375c1c029420184aeceeb291ee77bae3d..78c741349c750a0c1ae81a61b7aa4764fec86698 100644 (file)
@@ -11,6 +11,7 @@
 #include <limits.h>
 #include <stdint.h>
 #include <lttng/constant.h>
+#include <common/macros.h>
 
 /*
  * Object used for the snapshot API. This is opaque to the public library.
@@ -33,7 +34,7 @@ struct lttng_snapshot_output {
        char ctrl_url[PATH_MAX];
        /* Destination of the output. See lttng(1) for URL format. */
        char data_url[PATH_MAX];
-};
+} LTTNG_PACKED;
 
 /*
  * Snapshot output list object opaque to the user.
@@ -50,7 +51,7 @@ struct lttng_snapshot_output_list {
        size_t count;
 
        /*
-        * Containes snapshot output object.
+        * Contains snapshot output object.
         */
        struct lttng_snapshot_output *array;
 };
This page took 0.023381 seconds and 4 git commands to generate.