Fix segfault on free() pointer
[lttng-tools.git] / kconsumerd / kconsumerd.h
index 6c78663f5e67900cfbbed0129a8f75c4d65929d1..2aff4ef5011218c9d319884797f18aeab38d8b15 100644 (file)
@@ -19,6 +19,8 @@
 #ifndef _LTT_KCONSUMERD_H
 #define _LTT_KCONSUMERD_H
 
 #ifndef _LTT_KCONSUMERD_H
 #define _LTT_KCONSUMERD_H
 
+#include "lttng-kconsumerd.h"
+
 struct ltt_kconsumerd_fd_list {
        struct cds_list_head head;
 };
 struct ltt_kconsumerd_fd_list {
        struct cds_list_head head;
 };
@@ -34,7 +36,7 @@ struct ltt_kconsumerd_fd {
        int out_fd; /* output file to write the data */
        off_t out_fd_offset; /* write position in the output file descriptor */
        char path_name[PATH_MAX]; /* tracefile name */
        int out_fd; /* output file to write the data */
        off_t out_fd_offset; /* write position in the output file descriptor */
        char path_name[PATH_MAX]; /* tracefile name */
-       enum lttcomm_kconsumerd_fd_state state;
+       enum kconsumerd_fd_state state;
        unsigned long max_sb_size; /* the subbuffer size for this channel */
 };
 
        unsigned long max_sb_size; /* the subbuffer size for this channel */
 };
 
This page took 0.023147 seconds and 4 git commands to generate.